1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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 d507a9c6b9
commit 9a011eafa9

View File

@ -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);