[all-commits] [llvm/llvm-project] 3faf1f: [Clang] Implement static operator[]
Roy Jacobson via All-commits
all-commits at lists.llvm.org
Tue Nov 29 02:40:06 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3faf1f17a5c30a3ff1181898f2d2c7649066323d
https://github.com/llvm/llvm-project/commit/3faf1f17a5c30a3ff1181898f2d2c7649066323d
Author: Roy Jacobson <roi.jacobson1 at gmail.com>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/test/CXX/over/over.oper/p7.cpp
M clang/test/CodeGenCXX/cxx2b-static-call-operator.cpp
A clang/test/CodeGenCXX/cxx2b-static-subscript-operator.cpp
M clang/test/Lexer/cxx-features.cpp
M clang/www/cxx_status.html
Log Message:
-----------
[Clang] Implement static operator[]
After accepted in Kona, update the code to accept static operator[] as well.
No big code changes: accept this operator as static in SemaDeclCXX, update AST call generation in SemaOverload and update feature macros + tests accordingly.
Reviewed By: cor3ntin, erichkeane, #clang-language-wg
Differential Revision: https://reviews.llvm.org/D138387
More information about the All-commits
mailing list