aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-12-10 18:18:06 +0000
committerJordan Rose <jordan_rose@apple.com>2013-12-10 18:18:06 +0000
commit60bd88d34135aa2c4996160259e91354b2e06e6d (patch)
tree40e5935c6ad6777a94b7dacd5888813f77a889d5 /clang/lib/Frontend/CompilerInvocation.cpp
parent8d96c803dfbbffa94522f4ceb51f2d500263a6fb (diff)
downloadllvm-60bd88d34135aa2c4996160259e91354b2e06e6d.zip
llvm-60bd88d34135aa2c4996160259e91354b2e06e6d.tar.gz
llvm-60bd88d34135aa2c4996160259e91354b2e06e6d.tar.bz2
[analyzer] Extend IdenticalExprChecker to check ternary operator results.
Warn if both result expressions of a ternary operator (? :) are the same. Because only one of them will be executed, this warning will fire even if the expressions have side effects. Patch by Anders Rönnholm and Per Viberg! llvm-svn: 196937
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions