summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CGSCCPassManager.cpp
diff options
context:
space:
mode:
authorDavid Bolvansky <david.bolvansky@gmail.com>2019-09-22 22:00:48 +0000
committerDavid Bolvansky <david.bolvansky@gmail.com>2019-09-22 22:00:48 +0000
commitfb218170b47e08cc8154a82c530757392a0fca18 (patch)
tree0213401fe15857c447a7625a7ef0f30aef064d64 /llvm/lib/Analysis/CGSCCPassManager.cpp
parent914c4c306d1206670c3486987b55fedc11eccee4 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud