[llvm-commits] [llvm] r138351 - /llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp
Caitlin Sadowski
supertri at google.com
Tue Aug 23 11:49:23 PDT 2011
Author: supertri
Date: Tue Aug 23 13:49:23 2011
New Revision: 138351
URL: http://llvm.org/viewvc/llvm-project?rev=138351&view=rev
Log:
Thread safety: Adding in an option for variadic expr* array of arguments
Modified:
llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp
Modified: llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp?rev=138351&r1=138350&r2=138351&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp Tue Aug 23 13:49:23 2011
@@ -489,6 +489,8 @@
Ptr = new SimpleArgument(Arg, Attr, "unsigned");
else if (ArgName == "VariadicUnsignedArgument")
Ptr = new VariadicArgument(Arg, Attr, "unsigned");
+ else if (ArgName == "VariadicExprArgument")
+ Ptr = new VariadicArgument(Arg, Attr, "Expr *");
else if (ArgName == "VersionArgument")
Ptr = new VersionArgument(Arg, Attr);
More information about the llvm-commits
mailing list