aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-02-15 03:17:06 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-02-15 03:17:06 +0000
commit0b1a39577b9344b4c1cd38047489dc1ed3aebe9e (patch)
treeac4aef4598cabe68e221e462c819339e72505af2 /utils
parent17f26b4fd2473eb6224527105c293a73193e62e3 (diff)
downloadexternal_llvm-0b1a39577b9344b4c1cd38047489dc1ed3aebe9e.zip
external_llvm-0b1a39577b9344b4c1cd38047489dc1ed3aebe9e.tar.gz
external_llvm-0b1a39577b9344b4c1cd38047489dc1ed3aebe9e.tar.bz2
Revert r96130 ("Forward parameter options as '-option=param'").
This behaviour must be configurable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96210 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/LLVMCConfigurationEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 5558904..2abc94b 100644
--- a/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -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 << "\" + "