summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2015-05-20 23:29:18 +0000
committerRichard Trieu <rtrieu@google.com>2015-05-20 23:29:18 +0000
commitcbab79a4f8853bd796bf6b90de48e64a5728e8c0 (patch)
tree6d7ee850b39c2a9166fc425061da10278d3d6170 /llvm/lib/Transforms
parent69fc4418ab2845a5cbbd08c913ec16c6f73890ad (diff)
downloadbcm5719-llvm-cbab79a4f8853bd796bf6b90de48e64a5728e8c0.tar.gz
bcm5719-llvm-cbab79a4f8853bd796bf6b90de48e64a5728e8c0.zip
Check for bool-like conversion in conditional expressions.
Add a check for bool-like conversions for the condition expression of conditional operators. This is similiar to the checking of condition expressions of if statements, for-loops, while-loops, and do-while loops. Specificially, this is to fix the problem of assert("message") not triggering -Wstring-conversion when the assert macro uses a conditional operator. llvm-svn: 237856
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud