Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extend tautological pointer compare and pointer to bool conversion warnings to | Richard Trieu | 2014-08-08 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | macro arguments. Previously, these warnings skipped any code in a macro expansion. Preform an additional check and warn when the expression and context locations are both in the macro argument. The most obvious case not caught is passing a pointer directly to a macro, i.e 'assert(&array)' but 'assert(&array && "valid array")' is caught. This is because macro arguments are not typed and the conversion happens inside the macro. llvm-svn: 215251 | ||||
* | Extend -Wtautological-undefined-compare and -Wundefined-bool-conversion to | Richard Trieu | 2014-06-28 | 1 | -0/+60 |
| | | | | | | | trigger on taking the address of a reference that is returned from a function call. llvm-svn: 211989 | ||||
* | Fix my poor grammar from r210372 | Richard Trieu | 2014-06-06 | 1 | -6/+6 |
| | | | | llvm-svn: 210387 | ||||
* | Add -Wtautological-undefined-compare and -Wundefined-bool-conversion warnings | Richard Trieu | 2014-06-06 | 1 | -0/+37 |
to detect underfined behavior involving pointers. llvm-svn: 210372 |