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 | f24d7bbbcde2dbdc0eff41034c83f95fd948520b (patch) | |
| tree | c3d05c49d6055ec3b596c47b03b98cd22db3af9b /clang/lib/Sema/Sema.cpp | |
| parent | 61d8258fa3ef997c9e43058ba96290e61b7ca474 (diff) | |
| download | bcm5719-llvm-f24d7bbbcde2dbdc0eff41034c83f95fd948520b.tar.gz bcm5719-llvm-f24d7bbbcde2dbdc0eff41034c83f95fd948520b.zip | |
A more minimal fix for PR6762.
llvm-svn: 104991
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
| -rw-r--r-- | clang/lib/Sema/Sema.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp index 523b1963922..9cc50485729 100644 --- a/clang/lib/Sema/Sema.cpp +++ b/clang/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; |

