[PATCH] D103855: [clang] Exclude function pointers on DefaultedComparisonAnalyzer
Matheus Izvekov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 7 16:51:38 PDT 2021
mizvekov created this revision.
Herald added subscribers: manas, steakhal, ASDenysPetrov, dkrupp, donat.nagy, Szelethus, a.sidorin, baloghadamsoftware.
mizvekov requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This implements a more comprehensive fix than was done at D95409 <https://reviews.llvm.org/D95409>.
Instead of excluding just function pointer subobjects, we also
exclude any user-defined function pointer conversion operators.
Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>
Depends on D103850 <https://reviews.llvm.org/D103850>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103855
Files:
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaOverload.cpp
clang/test/CXX/class/class.compare/class.spaceship/p2.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103855.350449.patch
Type: text/x-patch
Size: 5783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210607/235ca0c5/attachment.bin>
More information about the cfe-commits
mailing list