]> granicus.if.org Git - clang/commit
PR13189: va_list broken with precompiled headers
authorMeador Inge <meadori@codesourcery.com>
Sun, 1 Jul 2012 15:57:25 +0000 (15:57 +0000)
committerMeador Inge <meadori@codesourcery.com>
Sun, 1 Jul 2012 15:57:25 +0000 (15:57 +0000)
commitfb40e3f10ccef93c4f8fb6bd4fe5a108fa6cd369
treec01ff6ec9c70a847d3db47e9554ca152fe8e1ac6
parente7e9332a0cd468c477e387a74a53114f1f1c10e6
PR13189: va_list broken with precompiled headers

For some targets a structure named __va_list_tag is built to help define
the __builtin_va_list type.  However, __va_list_tag was not being treated as a
predefined type thus causing problems when serializing the AST.  This commit
fixes that oversight by adding the necessary support to treat __va_list_tag
as a predefined type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159508 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
include/clang/Serialization/ASTBitCodes.h
lib/AST/ASTContext.cpp
lib/Serialization/ASTCommon.h
lib/Serialization/ASTReader.cpp
test/PCH/Inputs/__va_list_tag.h [new file with mode: 0644]
test/PCH/__va_list_tag.c [new file with mode: 0644]