summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPMacroExpansion.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-12-15 07:46:12 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-12-15 07:46:12 +0000
commit418ad3ff107dfde7f6d7c3e87f810fbbb8515ed4 (patch)
tree1b212b144fb3c8b8a0565eb58eb5d40114c401dc /clang/lib/Lex/PPMacroExpansion.cpp
parentc1eeb310d4d420b5053f1b5d413808851bdbe04e (diff)
downloadbcm5719-llvm-418ad3ff107dfde7f6d7c3e87f810fbbb8515ed4.tar.gz
bcm5719-llvm-418ad3ff107dfde7f6d7c3e87f810fbbb8515ed4.zip
Sema: Don't leave switch stack inconsistent when recovering
We would exit Sema::ActOnFinishSwitchStmt early if we didn't have a body. This would leave an extra SwitchStmt on the SwitchStack. This fixes PR21841. llvm-svn: 224237
Diffstat (limited to 'clang/lib/Lex/PPMacroExpansion.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud