diff options
author | John McCall <rjmccall@apple.com> | 2010-05-28 18:45:08 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-05-28 18:45:08 +0000 |
commit | c7e04dad588a30c94648b9bd70cdbe25688d7629 (patch) | |
tree | 2ec791de0c74d085108bb126f72e4cf06c4dbb74 /lib/Sema/Sema.cpp | |
parent | 2b7baf0816a40af3fde3a3e174192a549b785a50 (diff) |
A more minimal fix for PR6762.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index 523b196392..9cc5048572 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -43,6 +43,8 @@ void Sema::ActOnTranslationUnitScope(SourceLocation Loc, Scope *S) { TUScope = S; PushDeclContext(S, Context.getTranslationUnitDecl()); + VAListTagName = PP.getIdentifierInfo("__va_list_tag"); + if (PP.getTargetInfo().getPointerWidth(0) >= 64) { TypeSourceInfo *TInfo; |