[all-commits] [llvm/llvm-project] dc4259: [c++20] Further extend the set of comparisons brok...
Richard Smith via All-commits
all-commits at lists.llvm.org
Fri Mar 20 14:23:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dc4259d5a38409e65b60266a7df0f03c3b91a151
https://github.com/llvm/llvm-project/commit/dc4259d5a38409e65b60266a7df0f03c3b91a151
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-03-20 (Fri, 20 Mar 2020)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Overload.h
M clang/lib/Sema/SemaOverload.cpp
M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp
Log Message:
-----------
[c++20] Further extend the set of comparisons broken by C++20 that we
accept as an extension.
This attempts to accept the same cases a GCC, plus cases where a
comparison is rewritten to an operator== with an integral but non-bool
return type; this is sufficient to avoid most problems with various
major open-source projects (such as ICU) and appears to fix all but one
of the comparison-related C++20 build breaks in LLVM.
This approach is being pursued for standardization.
More information about the All-commits
mailing list