summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreTargetMachine.h
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2017-10-12 22:03:20 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2017-10-12 22:03:20 +0000
commit6f405dbe5c722aa3952d6515469cb98017bb530e (patch)
tree1bad29953860d6d54200c49293e6614c572c077d /llvm/lib/Target/XCore/XCoreTargetMachine.h
parentfd688c6f35fe754289170de36152fccd53ed9379 (diff)
downloadbcm5719-llvm-6f405dbe5c722aa3952d6515469cb98017bb530e.tar.gz
bcm5719-llvm-6f405dbe5c722aa3952d6515469cb98017bb530e.zip
Revert "[Sema] Diagnose tautological comparison with type's min/max values"
This reverts r315614,r315615,r315621,r315622 Breaks http://bb9.pgr.jp/#/builders/20/builds/59 /home/bb9/bootstrap-clang-libcxx-lld-i686-linux/llvm-project/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp:95:17: error: comparison 'long long' > 9223372036854775807 is always false [-Werror,-Wtautological-constant-compare] if (max_sec > Lim::max()) return false; ~~~~~~~ ^ ~~~~~~~~~~ /home/bb9/bootstrap-clang-libcxx-lld-i686-linux/llvm-project/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp:124:13: error: comparison 'long long' < -9223372036854775808 is always false [-Werror,-Wtautological-constant-compare] if (sec < Lim::min() || sec > Lim::max()) return false; ~~~ ^ ~~~~~~~~~~ /home/bb9/bootstrap-clang-libcxx-lld-i686-linux/llvm-project/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp:124:33: error: comparison 'long long' > 9223372036854775807 is always false [-Werror,-Wtautological-constant-compare] if (sec < Lim::min() || sec > Lim::max()) return false; ~~~ ^ ~~~~~~~~~~ 3 errors generated. -- I'm not yet sure what is the proper fix. llvm-svn: 315631
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreTargetMachine.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud