Thread safety: Adding in an option for variadic expr* array of arguments

llvm-svn: 138351
This commit is contained in:
Caitlin Sadowski 2011-08-23 18:49:23 +00:00
parent afbbd8e5ad
commit ffa5a909b4
1 changed files with 2 additions and 0 deletions

View File

@ -489,6 +489,8 @@ static Argument *createArgument(Record &Arg, StringRef Attr,
Ptr = new SimpleArgument(Arg, Attr, "unsigned"); Ptr = new SimpleArgument(Arg, Attr, "unsigned");
else if (ArgName == "VariadicUnsignedArgument") else if (ArgName == "VariadicUnsignedArgument")
Ptr = new VariadicArgument(Arg, Attr, "unsigned"); Ptr = new VariadicArgument(Arg, Attr, "unsigned");
else if (ArgName == "VariadicExprArgument")
Ptr = new VariadicArgument(Arg, Attr, "Expr *");
else if (ArgName == "VersionArgument") else if (ArgName == "VersionArgument")
Ptr = new VersionArgument(Arg, Attr); Ptr = new VersionArgument(Arg, Attr);