summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-01-15 07:30:30 +0000
committerJustin Bogner <mail@justinbogner.com>2014-01-15 07:30:30 +0000
commit41afb42c24200d04589b1fa33c44dc98b993239d (patch)
tree3dd68963db699abfd7ccf9773cb4d5a5f8d7d40f /lib/CodeGen/CodeGenFunction.cpp
parentff2b66229e7374cb4d47fcfd6f255fae54bc9975 (diff)
downloadclang-41afb42c24200d04589b1fa33c44dc98b993239d.tar.gz
clang-41afb42c24200d04589b1fa33c44dc98b993239d.tar.bz2
clang-41afb42c24200d04589b1fa33c44dc98b993239d.tar.xz
CodeGen: Simplify CodeGenFunction::EmitCaseStmt
Way back in r129652 we tried to avoid emitting an empty block at -O0 for switch cases that did nothing but break. This led to a poor debugging experience as reported in PR9796, so we disabled the optimization for -O0 but left it in for higher optimization levels in r154420. Since the whole point of this was to improve -O0, it's silly to keep the complexity at all. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199302 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions