]> granicus.if.org Git - clang/commit
[PCH] Fix crash with valid code, related to anonymous field initializers.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 30 May 2013 23:59:46 +0000 (23:59 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 30 May 2013 23:59:46 +0000 (23:59 +0000)
commitf8f480ff1cba08ce7e93160546168f729c95804c
tree4d47700a8b417af674f767bf9b2a242e72c5dbf4
parent858c2c317e7f176df72c4507a91eeddcfc5316fd
[PCH] Fix crash with valid code, related to anonymous field initializers.

In a certain code-path we were not deserializing an anonymous field initializer correctly,
leading to a crash when trying to IRGen it.

This is a simpler version of a patch by Yunzhong Gao!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182974 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReader.cpp
test/PCH/cxx-member-init.cpp