Revert r96130 ("Forward parameter options as '-option=param'").

This behaviour must be configurable.

llvm-svn: 96210
This commit is contained in:
Mikhail Glushenkov 2010-02-15 03:17:06 +00:00
parent bd65f192f2
commit 47bcd93456
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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 << "=\" + "
<< D.GenVariableName() << ");\n";
O.indent(IndentLevel) << "vec.push_back(\"" << Name << "\");\n";
O.indent(IndentLevel) << "vec.push_back(" << D.GenVariableName() << ");\n";
break;
case OptionType::Prefix:
O.indent(IndentLevel) << "vec.push_back(\"" << Name << "\" + "