llvm-project/clang/lib/Parse
Richard Smith e958506039 Rearrange and clean up how we disambiguate lambda-introducers from ObjC
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
2019-05-20 18:01:54 +00:00
..
CMakeLists.txt
ParseAST.cpp Adds `-ftime-trace` option to clang that produces Chrome `chrome://tracing` compatible JSON profiling output dumps. 2019-03-30 08:42:48 +00:00
ParseCXXInlineMethods.cpp [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00
ParseDecl.cpp [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00
ParseDeclCXX.cpp [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00
ParseExpr.cpp [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00
ParseExprCXX.cpp Rearrange and clean up how we disambiguate lambda-introducers from ObjC 2019-05-20 18:01:54 +00:00
ParseInit.cpp Rearrange and clean up how we disambiguate lambda-introducers from ObjC 2019-05-20 18:01:54 +00:00
ParseObjc.cpp [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00
ParseOpenMP.cpp [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00
ParsePragma.cpp [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00
ParseStmt.cpp [Sema][NFCI] Don't allocate storage for the various CorrectionCandidateCallback unless we are going to do some typo correction 2019-03-25 17:08:51 +00:00
ParseStmtAsm.cpp [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00
ParseTemplate.cpp [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00
ParseTentative.cpp Rearrange and clean up how we disambiguate lambda-introducers from ObjC 2019-05-20 18:01:54 +00:00
Parser.cpp [Lex] Allow to consume tokens while preprocessing 2019-05-17 09:32:05 +00:00