[c++20] Don't consider string literal operator templates for numeric
authorRichard Smith <richard@metafoo.co.uk>
Mon, 11 Jan 2021 21:12:43 +0000 (13:12 -0800)
committerRichard Smith <richard@metafoo.co.uk>
Mon, 11 Jan 2021 21:19:00 +0000 (13:19 -0800)
commit9b222b108a2e37eb45d3156ec8554d148d658a8a
treea9e7d141e3e24d28cf3a4f135d41eb22d00e0e82
parentaefeb5f136e7b72b251ce2881cb39a1fe8f0d76a
[c++20] Don't consider string literal operator templates for numeric
literals.

A literal interpretation of the standard wording allows this, but it was
never intended that string literal operator templates would be used for
anything other than user-defined string literals.
clang/lib/Sema/SemaLookup.cpp
clang/test/SemaCXX/cxx2a-user-defined-literals.cpp