summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/AsmParser.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 /llvm/lib/MC/MCParser/AsmParser.cpp
parent8d96c803dfbbffa94522f4ceb51f2d500263a6fb (diff)
downloadbcm5719-llvm-60bd88d34135aa2c4996160259e91354b2e06e6d.tar.gz
bcm5719-llvm-60bd88d34135aa2c4996160259e91354b2e06e6d.zip
[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 'llvm/lib/MC/MCParser/AsmParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud