]> granicus.if.org Git - clang/commit
ConstStructBuilder: fix offset math for base classes so it works correctly in general...
authorEli Friedman <eli.friedman@gmail.com>
Fri, 30 Mar 2012 03:55:31 +0000 (03:55 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 30 Mar 2012 03:55:31 +0000 (03:55 +0000)
commit5fe61c6cb09a5a2d2ecddfb74f8b253d9d462165
tree0f3d269e500a9c76675a400212ef76b2da5ab048
parent38ac243e300798e8cd9fe05888cd97beabfb94e6
ConstStructBuilder: fix offset math for base classes so it works correctly in general.  Found by inspection.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153720 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprConstant.cpp
test/CodeGenCXX/const-init-cxx11.cpp