[all-commits] [llvm/llvm-project] b2bc0a: Implement P2173 for attributes on lambdas
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Wed Mar 3 07:06:11 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b2bc0a32545f9b066fed1631c6fba92a2a5a6d84
https://github.com/llvm/llvm-project/commit/b2bc0a32545f9b066fed1631c6fba92a2a5a6d84
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2021-03-03 (Wed, 03 Mar 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseExprCXX.cpp
M clang/test/AST/ast-dump-lambda.cpp
M clang/test/Parser/cxx0x-lambda-expressions.cpp
Log Message:
-----------
Implement P2173 for attributes on lambdas
https://wg21.link/P2173 is making its way through WG21 currently and
has not been formally adopted yet. This feature provides very useful
functionality in that you can specify attributes on the various
function *declarations* generated by a lambda expression, where the
current C++ grammar only allows attributes which apply to the various
function *types* so generated.
This patch implements P2173 on the assumption that it will be adopted
by WG21 with this syntax for C++23.
More information about the All-commits
mailing list