mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
Forward parameter options as '-option=parameter'.
Some tools do not like the '-option parameter' form. Should this be configurable? llvm-svn: 96130
This commit is contained in:
parent
d823a2e8ee
commit
09bf7f44e8
@ -13,7 +13,7 @@ def dummy_tool : Tool<[
|
||||
(in_language "dummy"),
|
||||
(out_language "dummy"),
|
||||
(actions (case
|
||||
// CHECK: vec.push_back("unique_name")
|
||||
// CHECK: vec.push_back("unique_name
|
||||
(not_empty "dummy"), (forward_as "dummy", "unique_name")))
|
||||
]>;
|
||||
|
||||
|
@ -1792,8 +1792,8 @@ void EmitForwardOptionPropertyHandlingCode (const OptionDescription& D,
|
||||
O.indent(IndentLevel) << "vec.push_back(\"" << Name << "\");\n";
|
||||
break;
|
||||
case OptionType::Parameter:
|
||||
O.indent(IndentLevel) << "vec.push_back(\"" << Name << "\");\n";
|
||||
O.indent(IndentLevel) << "vec.push_back(" << D.GenVariableName() << ");\n";
|
||||
O.indent(IndentLevel) << "vec.push_back(\"" << Name << "=\" + "
|
||||
<< D.GenVariableName() << ");\n";
|
||||
break;
|
||||
case OptionType::Prefix:
|
||||
O.indent(IndentLevel) << "vec.push_back(\"" << Name << "\" + "
|
||||
|
Loading…
x
Reference in New Issue
Block a user