summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-03-08 23:06:02 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-03-08 23:06:02 +0000
commit7d182a7909881f5555db0f519843681a7252f79d (patch)
tree852efa4a708a02a27e955c24f47b933075495f99 /clang/lib/Frontend/CompilerInvocation.cpp
parentf7fc1d48595d946929908c2fb3658450b2a2cebe (diff)
downloadbcm5719-llvm-7d182a7909881f5555db0f519843681a7252f79d.tar.gz
bcm5719-llvm-7d182a7909881f5555db0f519843681a7252f79d.zip
Fix a couple of issues with literal-operator-id parsing, and provide recovery
for a few kinds of error. Specifically: Since we're after translation phase 6, the "" token might be formed by multiple source-level string literals. Checking the token width is not a correct way of detecting empty string literals, due to escaped newlines. Diagnose and recover from a missing space between "" and suffix, and from string literals other than "", which are followed by a suffix. llvm-svn: 152348
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud