forked from OSchip/llvm-project
Thread safety: Adding in an option for variadic expr* array of arguments
llvm-svn: 138351
This commit is contained in:
parent
afbbd8e5ad
commit
ffa5a909b4
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue