[cfe-commits] r74752 - /cfe/trunk/lib/Basic/Targets.cpp
Eli Friedman
eli.friedman at gmail.com
Thu Jul 2 17:45:07 PDT 2009
Author: efriedma
Date: Thu Jul 2 19:45:06 2009
New Revision: 74752
URL: http://llvm.org/viewvc/llvm-project?rev=74752&view=rev
Log:
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.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=74752&r1=74751&r2=74752&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Thu Jul 2 19:45:06 2009
@@ -960,7 +960,8 @@
" 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
More information about the cfe-commits
mailing list