Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Diagnostics] Handle tautological left shifts in boolean context | David Bolvansky | 2019-09-24 | 1 | -7/+12 |
| | | | | llvm-svn: 372749 | ||||
* | [Diagnostics] Do not diagnose unsigned shifts in boolean context ↵ | David Bolvansky | 2019-09-24 | 1 | -4/+16 |
| | | | | | | | | (-Wint-in-bool-context) I was looking at old GCC's patch. Current "trunk" version avoids warning for unsigned case, GCC warns only for signed shifts. llvm-svn: 372708 | ||||
* | [Diagnostics] Warn for enum constants in bool context ↵ | David Bolvansky | 2019-09-23 | 1 | -1/+27 |
| | | | | | | | | (-Wint-in-bool-context; GCC compatibility) Extracted from D63082. llvm-svn: 372664 | ||||
* | [Diagnostics] Warn if '<<' in bool context with -Wint-in-bool-context (GCC ↵ | David Bolvansky | 2019-09-23 | 1 | -0/+31 |
compatibility) Extracted from D63082, addressed review comments related to a warning message. llvm-svn: 372612 |