aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-05-20 18:01:54 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-05-20 18:01:54 +0000
commite9585060398960d78cce6dd59b79e31e736b8f51 (patch)
tree8aec90e80180321de91daaf2765a0b616d9fcb4b /llvm/utils/TableGen/CodeGenDAGPatterns.cpp
parentd91f1dd4706d2bc591fc64d7f315c020f521678e (diff)
downloadllvm-e9585060398960d78cce6dd59b79e31e736b8f51.zip
llvm-e9585060398960d78cce6dd59b79e31e736b8f51.tar.gz
llvm-e9585060398960d78cce6dd59b79e31e736b8f51.tar.bz2
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
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions