diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-12-06 19:23:19 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-12-06 19:23:19 +0000 |
commit | 692f66ab626b50f14e4177f27e5b4f053301d686 (patch) | |
tree | 6c02ef17633e453016850216c6f1c11e7022fee2 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 5beb1838bb389bf5df85cd449d373f8d4a9b75ff (diff) | |
download | llvm-692f66ab626b50f14e4177f27e5b4f053301d686.zip llvm-692f66ab626b50f14e4177f27e5b4f053301d686.tar.gz llvm-692f66ab626b50f14e4177f27e5b4f053301d686.tar.bz2 |
Delete special-case "out-of-range" handling for bools, and just use the normal
codepath plus the new "minimum / maximum value of type" diagnostic to get the
same effect.
Move the warning for an in-range but tautological comparison of a constant (0
or 1) against a bool out of -Wtautological-constant-out-of-range-compare into
the more-appropriate -Wtautological-constant-compare.
llvm-svn: 319942
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions