[PATCH] D103855: [clang] Exclude function pointers on DefaultedComparisonAnalyzer
Matheus Izvekov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 17 03:38:18 PDT 2021
mizvekov updated this revision to Diff 352667.
mizvekov added a comment.
Instead of excluding function pointers from the overload set, just implicitly delete
with new diagnostic in case we end up selecting it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103855/new/
https://reviews.llvm.org/D103855
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/CXX/class/class.compare/class.spaceship/p2.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103855.352667.patch
Type: text/x-patch
Size: 6282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210617/0f5d22cf/attachment.bin>
More information about the cfe-commits
mailing list