]> granicus.if.org Git - clang/commit
Store the type ID for __builtin_va_list in the PCH file, so that the
authorDouglas Gregor <dgregor@apple.com>
Sat, 18 Apr 2009 05:55:16 +0000 (05:55 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 18 Apr 2009 05:55:16 +0000 (05:55 +0000)
commitad1de006ea080b540e480efc6b86c2e201dbf1ec
tree732fbc16f5196aea3889628dd9121c2e40ff32ab
parentd92fa477d54e42c1f0cf9a785b53659a638b8eeb
Store the type ID for __builtin_va_list in the PCH file, so that the
AST context's __builtin_va_list type will be set when the PCH file is
loaded. This fixes the crash when CodeGen'ing a va_arg expression
pulled in from a PCH file.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69421 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/PCHBitCodes.h
include/clang/Frontend/PCHReader.h
lib/Frontend/PCHReader.cpp
lib/Frontend/PCHWriter.cpp
test/PCH/va_arg.c