]> granicus.if.org Git - clang/commit
Per Richard's comments on r154794, add the checks necessary to handle constant-foldin...
authorEli Friedman <eli.friedman@gmail.com>
Mon, 16 Apr 2012 19:23:57 +0000 (19:23 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 16 Apr 2012 19:23:57 +0000 (19:23 +0000)
commit2850376184b7e7aa81b5034ba44b001f8c55e07a
treec51e1f08f3dae46bbacd00330c6a909a035513bd
parente9836a27cf93a58305ff3cf6d75ddc399c7d8ebf
Per Richard's comments on r154794, add the checks necessary to handle constant-folding relational comparisons safely in case the user is using -fwrapv or equivalent.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154849 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/Sema/const-eval.c