]> granicus.if.org Git - clang/commit
Make constant evaluation for pointer comparisons work correctly for some uncommon...
authorEli Friedman <eli.friedman@gmail.com>
Mon, 16 Apr 2012 04:30:08 +0000 (04:30 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 16 Apr 2012 04:30:08 +0000 (04:30 +0000)
commita31698842e9893559d58a7bf1a987f2ae90bea0b
tree922756511b8ac29e37c3934fc6bdf5c1199159fc
parent4762a2da74875d2ae94e0d77d38ed964816cce36
Make constant evaluation for pointer comparisons work correctly for some uncommon cases.  <rdar://problem/10962435>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154794 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/Sema/const-eval-64.c [new file with mode: 0644]
test/Sema/const-eval.c