[all-commits] [llvm/llvm-project] 9b222b: [c++20] Don't consider string literal operator tem...

Richard Smith via All-commits all-commits at lists.llvm.org
Mon Jan 11 13:23:57 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b222b108a2e37eb45d3156ec8554d148d658a8a
      https://github.com/llvm/llvm-project/commit/9b222b108a2e37eb45d3156ec8554d148d658a8a
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2021-01-11 (Mon, 11 Jan 2021)

  Changed paths:
    M clang/lib/Sema/SemaLookup.cpp
    M clang/test/SemaCXX/cxx2a-user-defined-literals.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list