From ffa5a909b46b393a420b31bfc26dc3cfa006147e Mon Sep 17 00:00:00 2001 From: Caitlin Sadowski Date: Tue, 23 Aug 2011 18:49:23 +0000 Subject: [PATCH] Thread safety: Adding in an option for variadic expr* array of arguments llvm-svn: 138351 --- llvm/utils/TableGen/ClangAttrEmitter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/utils/TableGen/ClangAttrEmitter.cpp b/llvm/utils/TableGen/ClangAttrEmitter.cpp index 40bbb0852489..6ef25d9a3ac4 100644 --- a/llvm/utils/TableGen/ClangAttrEmitter.cpp +++ b/llvm/utils/TableGen/ClangAttrEmitter.cpp @@ -489,6 +489,8 @@ static Argument *createArgument(Record &Arg, StringRef Attr, 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);