diff options
| author | David Bolvansky <david.bolvansky@gmail.com> | 2019-09-22 22:00:48 +0000 |
|---|---|---|
| committer | David Bolvansky <david.bolvansky@gmail.com> | 2019-09-22 22:00:48 +0000 |
| commit | fb218170b47e08cc8154a82c530757392a0fca18 (patch) | |
| tree | 0213401fe15857c447a7625a7ef0f30aef064d64 /llvm/lib/Analysis/CGSCCPassManager.cpp | |
| parent | 914c4c306d1206670c3486987b55fedc11eccee4 (diff) | |
| download | bcm5719-llvm-fb218170b47e08cc8154a82c530757392a0fca18.tar.gz bcm5719-llvm-fb218170b47e08cc8154a82c530757392a0fca18.zip | |
[Diagnostics] Warn if ?: with integer constants always evaluates to true
Extracted from D63082. GCC has this warning under -Wint-in-bool-context, but as noted in the D63082's review, we should put it under TautologicalConstantCompare.
llvm-svn: 372531
Diffstat (limited to 'llvm/lib/Analysis/CGSCCPassManager.cpp')
0 files changed, 0 insertions, 0 deletions

