]> granicus.if.org Git - clang/commit
Make the tautological out of range warning use Sema::DiagRuntimeBehavior so that
authorRichard Trieu <rtrieu@google.com>
Fri, 10 Jan 2014 04:38:09 +0000 (04:38 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 10 Jan 2014 04:38:09 +0000 (04:38 +0000)
commitd85e5f7c8c2df4766f2bbf92d7ea9898db5317a7
tree95aedadc18c0593721ae459b4ee9c2a2d8f5f8d5
parentfa6b96890215a4e2fe3160cf5305f782d205f900
Make the tautological out of range warning use Sema::DiagRuntimeBehavior so that
the warning will not trigger on code protected by compile time checks.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198913 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/SemaCXX/warn-tautological-compare.cpp [new file with mode: 0644]