[PATCH] D14905: [constexpr-lambda] Support parsing of constexpr specifier (and its inference) on lambda expressions
Faisal Vali via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 5 21:37:06 PST 2016
faisalv removed reviewers: nwilson, aaron.ballman, hubert.reinterpretcast, doug.gregor.
faisalv updated this revision to Diff 49889.
faisalv marked 7 inline comments as done.
faisalv added a comment.
Incorporated Richard's feedback:
- constexpr now elicits an extension warning in pre-cxx1z
- refactored the function that parses constexpr/mutable and added recovery for duplicates (while emitting a diagnostic)
http://reviews.llvm.org/D14905
Files:
include/clang/Basic/DiagnosticASTKinds.td
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Sema/Sema.h
lib/AST/ExprConstant.cpp
lib/Parse/ParseExprCXX.cpp
lib/Sema/SemaLambda.cpp
lib/Sema/TreeTransform.h
test/Parser/cxx1z-constexpr-lambdas.cpp
test/SemaCXX/cxx1z-constexpr-lambdas.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14905.49889.patch
Type: text/x-patch
Size: 13653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160306/c99eedbc/attachment-0001.bin>
More information about the cfe-commits
mailing list