[PATCH] D133659: [Clang] P1169R4: static operator()

Roy Jacobson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 11 04:56:43 PDT 2022


royjacobson created this revision.
Herald added a project: All.
royjacobson updated this revision to Diff 459334.
royjacobson added a comment.
royjacobson updated this revision to Diff 459349.
royjacobson updated this revision to Diff 459355.
royjacobson retitled this revision from "[Clang] Implement static operator()" to "[Clang] P1169R4: static operator()".
royjacobson edited the summary of this revision.
royjacobson added a reviewer: clang-language-wg.
royjacobson published this revision for review.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

missing newline


royjacobson added a comment.

Fix the tests, add a CodeGen test.


royjacobson added a comment.

Fix diagnosing static operators that are not call.


Implements 'P1169R4: static operator()' from C++2b.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133659

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Basic/OperatorKinds.def
  clang/include/clang/Sema/DeclSpec.h
  clang/include/clang/Sema/Sema.h
  clang/lib/Frontend/InitPreprocessor.cpp
  clang/lib/Parse/ParseExprCXX.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/lib/Sema/SemaDeclCXX.cpp
  clang/lib/Sema/SemaLambda.cpp
  clang/lib/Sema/SemaOverload.cpp
  clang/lib/Sema/TreeTransform.h
  clang/test/CXX/over/over.oper/over.literal/p7.cpp
  clang/test/CodeGenCXX/cxx2b-static-call-operator.cpp
  clang/test/Parser/cxx2b-lambdas-ext-warns.cpp
  clang/test/Parser/cxx2b-lambdas.cpp
  clang/www/cxx_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133659.459355.patch
Type: text/x-patch
Size: 30333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220911/a4956782/attachment-0001.bin>


More information about the cfe-commits mailing list