From: Eli Friedman Date: Fri, 3 Jul 2009 00:45:06 +0000 (+0000) Subject: Add an intermediate typedef for __builtin_va_tag to make it a bit easier X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc043166e3a688b14367b71ba69f741e4a0216b2;p=clang Add an intermediate typedef for __builtin_va_tag to make it a bit easier to deal with for AST pretty-printing/rewriting. Patch by Abramo Bagnara. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74752 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 561dc57ef2..3f7d9a31c6 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -960,7 +960,8 @@ public: " unsigned fp_offset;" " void* overflow_arg_area;" " void* reg_save_area;" - "} __builtin_va_list[1];"; + "} __va_list_tag;" + "typedef __va_list_tag __builtin_va_list[1];"; } }; } // end anonymous namespace