summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-03-16 17:05:57 +0000
committerDouglas Gregor <dgregor@apple.com>2011-03-16 17:05:57 +0000
commita0ff0c34a71a24c2b65f257ab59976a902c63982 (patch)
treeef2c07fe2c5cf2c661a033d53a4d0c5f05dc7329 /clang/lib/Frontend/CompilerInvocation.cpp
parent46c04e74fba75b9b670834e61dec85db87068fb9 (diff)
downloadbcm5719-llvm-a0ff0c34a71a24c2b65f257ab59976a902c63982.tar.gz
bcm5719-llvm-a0ff0c34a71a24c2b65f257ab59976a902c63982.zip
Make sure that we always pop a function's scope *before* we call
ActOnFinishFunctionBody/ActOnBlockStmtExpr. This way, we ensure that we diagnose undefined labels before the jump-scope checker gets run, since the jump-scope checker requires (as its invariant) that all of the GotoStmts be wired up correctly. Fixes PR9495. llvm-svn: 127738
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud