summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/objcxx11-invalid-lambda.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rearrange and clean up how we disambiguate lambda-introducers from ObjCRichard Smith2019-05-201-2/+2
| | | | | | | | | | | | | | | | message sends, designators, and attributes. Instead of having the tentative parsing phase sometimes return an indicator to say what diagnostic to produce if parsing fails and sometimes ask the caller to run it again, consistently ask the caller to try parsing again if tentative parsing would fail or is otherwise unable to completely parse the lambda-introducer without producing an irreversible semantic effect. Mostly NFC, but we should recover marginally better in some error cases (avoiding duplicate diagnostics). llvm-svn: 361182
* [Parser] Fix TryParseLambdaIntroducer() error handlingJan Korous2017-11-061-0/+10
rdar://35066196 Differential Revision: https://reviews.llvm.org/D39419 llvm-svn: 317493
OpenPOWER on IntegriCloud