]> granicus.if.org Git - clang/commit
Fix some bugs where we would sometimes use 0, not -1, when emitting a null constant...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 20 Dec 2012 23:49:09 +0000 (23:49 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 20 Dec 2012 23:49:09 +0000 (23:49 +0000)
commitd8af340e27a1ecabec925a1090a3e4984688b5b1
treeafe85bb8fbd4725b8818abec6390bd86502a7d00
parentbf85d9d518e5120fb976e824ff681c21947e006d
Fix some bugs where we would sometimes use 0, not -1, when emitting a null constant of type pointer-to-data-member.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170806 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGExprScalar.cpp
test/CodeGenCXX/cxx0x-initializer-array.cpp