summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-09-16 00:03:01 +0000
committerTed Kremenek <kremenek@apple.com>2010-09-16 00:03:01 +0000
commit853734e55877a407009787cefa6c6537e04152a8 (patch)
tree96eb97b950a601cce648864057b61142f8194b85 /clang/lib/CodeGen/CGExprAgg.cpp
parent9855109b6590d2488fb767464ca0f4307e798d59 (diff)
downloadbcm5719-llvm-853734e55877a407009787cefa6c6537e04152a8.tar.gz
bcm5719-llvm-853734e55877a407009787cefa6c6537e04152a8.zip
For self-comparison warning, check the source location of both the LHS and RHS to see if they
are expanded from macros (and if so, omit the warning). Previously we were just looking at the location of the binary expression. Fixes <rdar://problem/8435950>. llvm-svn: 114044
Diffstat (limited to 'clang/lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud