From dc043166e3a688b14367b71ba69f741e4a0216b2 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Fri, 3 Jul 2009 00:45:06 +0000 Subject: [PATCH] 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 --- lib/Basic/Targets.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.40.0