aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorShafik Yaghmour <shafik.yaghmour@intel.com>2023-08-29 11:28:57 -0700
committerShafik Yaghmour <shafik.yaghmour@intel.com>2023-08-29 11:28:57 -0700
commit6f30ef360127ffb3346fd3d3e60a229ed44dc667 (patch)
tree65396b017e0316522b456809e136e246655f2c4f /clang/unittests/Interpreter/InterpreterTest.cpp
parentb26bb30b467b996c9786e3bd426c07684d84d406 (diff)
downloadllvm-6f30ef360127ffb3346fd3d3e60a229ed44dc667.zip
llvm-6f30ef360127ffb3346fd3d3e60a229ed44dc667.tar.gz
llvm-6f30ef360127ffb3346fd3d3e60a229ed44dc667.tar.bz2
[Clang] Modify Parser::ParseLambdaExpressionAfterIntroducer to check whether the lambda-declarator is valid
We had a couple of crashes due to invalid lambda trailing return types that were diagnosed but not treated as errors during parsing. So now in Parser::ParseLambdaExpressionAfterIntroducer(...) after ActOnStartOfLambdaDefinition(...) we also check if the lambda-declarator is invalid and if so we end up in ActOnLambdaError(...). Fixes: https://github.com/llvm/llvm-project/issues/64962 https://github.com/llvm/llvm-project/issues/28679 Differential Revision: https://reviews.llvm.org/D158808
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions