summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/warn-string-conversion.c
Commit message (Collapse)AuthorAgeFilesLines
* Check for bool-like conversion in conditional expressions.Richard Trieu2015-05-201-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-conversionRichard Trieu2014-11-191-0/+17
for C code. llvm-svn: 222327
OpenPOWER on IntegriCloud