]> granicus.if.org Git - clang/commit
Reapply r198845, reverted in r198849, with a fix to make it valid C++98, not
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 10 Jan 2014 00:40:45 +0000 (00:40 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 10 Jan 2014 00:40:45 +0000 (00:40 +0000)
commit51910c637bb73218607144eef25e144bb9469342
tree599f10d9375a3ab2d1d7eba70e3ad3e5802f6e6f
parent4df754d1530e70e5719cfd00b515cbfa8dbbe59f
Reapply r198845, reverted in r198849, with a fix to make it valid C++98, not
just valid C++11 =)

Original commit message:

PR18427: Use an appropriately-aligned buffer in APValue, to avoid a crash on
SPARC, where uint64_t apparently requires higher alignment than void*.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198903 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/APValue.h
lib/AST/APValue.cpp