Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check for bool-like conversion in conditional expressions. | Richard Trieu | 2015-05-20 | 1 | -4/+21 |
| | | | | | | | | | | 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 | ||||
* | Add the exception for strings in logical and expressions to -Wstring-conversion | Richard Trieu | 2014-11-19 | 1 | -0/+17 |
for C code. llvm-svn: 222327 |