[llvm-commits] [llvm] r96210 - in /llvm/trunk: test/LLVMC/ForwardAs.td utils/TableGen/LLVMCConfigurationEmitter.cpp
Mikhail Glushenkov
foldr at codedgers.com
Sun Feb 14 19:17:06 PST 2010
Author: foldr
Date: Sun Feb 14 21:17:06 2010
New Revision: 96210
URL: http://llvm.org/viewvc/llvm-project?rev=96210&view=rev
Log:
Revert r96130 ("Forward parameter options as '-option=param'").
This behaviour must be configurable.
Modified:
llvm/trunk/test/LLVMC/ForwardAs.td
llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp
Modified: llvm/trunk/test/LLVMC/ForwardAs.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/ForwardAs.td?rev=96210&r1=96209&r2=96210&view=diff
==============================================================================
--- llvm/trunk/test/LLVMC/ForwardAs.td (original)
+++ llvm/trunk/test/LLVMC/ForwardAs.td Sun Feb 14 21:17:06 2010
@@ -13,7 +13,7 @@
(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")))
]>;
Modified: llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp?rev=96210&r1=96209&r2=96210&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp Sun Feb 14 21:17:06 2010
@@ -1792,8 +1792,8 @@
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 << "\" + "
More information about the llvm-commits
mailing list