Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Diagnostics] Emit better -Wbool-operation's warning message if we known ↵ | David Bolvansky | 2019-10-07 | 1 | -3/+3 |
| | | | | | | that the result is always true llvm-svn: 373973 | ||||
* | [Diagnostics] Use Expr::isKnownToHaveBooleanValue() to check bitwise ↵ | David Bolvansky | 2019-10-05 | 1 | -0/+2 |
| | | | | | | | | negation of bool in languages without a bool type Thanks for this advice, Richard Trieu! llvm-svn: 373817 | ||||
* | Further improve -Wbool-operation bitwise negation message | Sam McCall | 2019-10-04 | 1 | -3/+3 |
| | | | | llvm-svn: 373749 | ||||
* | [NFCI] Improve the -Wbool-operation's warning message | David Bolvansky | 2019-10-04 | 1 | -2/+4 |
| | | | | | | Based on the request from the post commit review. Also added one new test. llvm-svn: 373743 | ||||
* | [Diagnostics] Bitwise negation of a boolean expr always evaluates to true; ↵ | David Bolvansky | 2019-10-03 | 1 | -0/+20 |
warn with -Wbool-operation Requested here: http://lists.llvm.org/pipermail/cfe-dev/2019-October/063452.html llvm-svn: 373614 |