aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2014-02-19 17:44:11 +0000
committerJordan Rose <jordan_rose@apple.com>2014-02-19 17:44:11 +0000
commit70e7e8718e14f8c29ff57c4c7e2fe07ad226ec36 (patch)
tree0aad9321b648a0b1ead544f7e478288a20cba52e /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentdaeafb4c2ae969cefc54cd04bf4b114003740b00 (diff)
downloadllvm-70e7e8718e14f8c29ff57c4c7e2fe07ad226ec36.zip
llvm-70e7e8718e14f8c29ff57c4c7e2fe07ad226ec36.tar.gz
llvm-70e7e8718e14f8c29ff57c4c7e2fe07ad226ec36.tar.bz2
[analyzer] Extend IdenticalExprChecker to check the two branches of an if.
This extends the checks for identical expressions to handle identical statements, and compares the consequent and alternative ("then" and "else") branches of an if-statement to see if they are identical, treating a single statement surrounded by braces as equivalent to one without braces. This does /not/ check subsequent branches in an if/else chain, let alone branches that are not consecutive. This may improve in a future patch, but it would certainly take more work. Patch by Daniel Fahlgren! llvm-svn: 201701
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions