summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/Parser.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-04-09 16:29:35 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-04-09 16:29:35 +0000
commite6b6fae8ffdbaa38bf88a0d5d207c02df3ab22c5 (patch)
tree5b64af72cf0d060ba22e43cd48da77a48edd1bc7 /clang/lib/Parse/Parser.cpp
parent8f62b3248ed3600358ce7b265776e615a519b1f4 (diff)
downloadbcm5719-llvm-e6b6fae8ffdbaa38bf88a0d5d207c02df3ab22c5.tar.gz
bcm5719-llvm-e6b6fae8ffdbaa38bf88a0d5d207c02df3ab22c5.zip
Fix accidentally constant conditions found by uncommitted improvements to -Wconstant-conversion.
A couple of cases where we were accidentally creating constant conditions by something like "x == a || b" instead of "x == a || x == b". In one case a conditional & then unreachable was used - I transformed this into a direct assert instead. llvm-svn: 154324
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud