aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-03-09 13:45:18 +0000
committerDuncan Sands <baldrick@free.fr>2012-03-09 13:45:18 +0000
commitcca89124a2a9300b2d68b42996ebc14b8d7c2fe0 (patch)
treea0de279a8eb937a3a54c4287d78b369c38990ef4 /clang/lib/Frontend/CompilerInvocation.cpp
parent1f5568c55f35b3b8ab2376aca2242673a1d575ab (diff)
downloadllvm-cca89124a2a9300b2d68b42996ebc14b8d7c2fe0.zip
llvm-cca89124a2a9300b2d68b42996ebc14b8d7c2fe0.tar.gz
llvm-cca89124a2a9300b2d68b42996ebc14b8d7c2fe0.tar.bz2
Eliminate switch cases that can never match, for example removes all
negative switch cases if the branch condition is known to be positive. Inspired by a recent improvement to GCC's VRP. llvm-svn: 152405
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions