diff options
author | Richard Trieu <rtrieu@google.com> | 2015-05-20 23:29:18 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2015-05-20 23:29:18 +0000 |
commit | cbab79a4f8853bd796bf6b90de48e64a5728e8c0 (patch) | |
tree | 6d7ee850b39c2a9166fc425061da10278d3d6170 /llvm/lib/Transforms | |
parent | 69fc4418ab2845a5cbbd08c913ec16c6f73890ad (diff) | |
download | bcm5719-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