[PATCH] D104680: [clang] Eliminate relational function pointer comparisons in all C++ modes

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 28 09:05:20 PDT 2021


mizvekov updated this revision to Diff 354920.
mizvekov added a comment.

- Rebase after split.
- Add tests which I had forgotten, covering the builtin candidates for the relational operators other than spaceship.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104680/new/

https://reviews.llvm.org/D104680

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/Sema/SemaOverload.cpp
  clang/test/CXX/drs/dr15xx.cpp
  clang/test/CXX/drs/dr3xx.cpp
  clang/test/CXX/expr/expr.const/p2-0x.cpp
  clang/test/SemaCXX/compare-function-pointer.cpp
  clang/test/SemaTemplate/resolve-single-template-id.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104680.354920.patch
Type: text/x-patch
Size: 12611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210628/429def8b/attachment-0001.bin>


More information about the cfe-commits mailing list