summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineCodeEmitter.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-09-18 00:52:05 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-09-18 00:52:05 +0000
commit0875c53239dde03319099d8ae4ac12a4025709e8 (patch)
tree7649b32a1e208b22e0d951a72764cb8ba0697347 /llvm/lib/CodeGen/MachineCodeEmitter.cpp
parent5657555357af46e44a1970f7a7aa8f5ced35aa79 (diff)
downloadbcm5719-llvm-0875c53239dde03319099d8ae4ac12a4025709e8.tar.gz
bcm5719-llvm-0875c53239dde03319099d8ae4ac12a4025709e8.zip
If a comma operator is followed by a token which unambiguously indicates the
start of a statement or the end of a compound-statement, diagnose the comma as a typo for a semicolon. Patch by Ahmed Bougacha! Additional test cases and minor refactoring by me. llvm-svn: 164085
Diffstat (limited to 'llvm/lib/CodeGen/MachineCodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud