summaryrefslogtreecommitdiff
path: root/utils/TableGen/LLVMCConfigurationEmitter.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:13:45 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:13:45 +0000
commitd83038c9605c84e92b6052500405ac3903f0d6f1 (patch)
treeb71d384758631a4b97db7e13296641a9b4b36e0c /utils/TableGen/LLVMCConfigurationEmitter.cpp
parent978d498e401c292b6be5248abaf828b66739bcb8 (diff)
downloadllvm-d83038c9605c84e92b6052500405ac3903f0d6f1.tar.gz
llvm-d83038c9605c84e92b6052500405ac3903f0d6f1.tar.bz2
llvm-d83038c9605c84e92b6052500405ac3903f0d6f1.tar.xz
Remove the UnpackValues() function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/LLVMCConfigurationEmitter.cpp')
-rw-r--r--utils/TableGen/LLVMCConfigurationEmitter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 32b6d38328..ab6f2efc48 100644
--- a/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -632,11 +632,11 @@ void EmitOptionPropertyHandlingCode (const ToolProperties& P,
<< "::iterator B = " << D.GenVariableName() << ".begin(),\n"
<< Indent3 << "E = " << D.GenVariableName()
<< ".end(); B != E; ++B)\n"
- << Indent4 << "Tool::UnpackValues(*B, vec);\n";
+ << Indent4 << "llvm::SplitString(*B, vec, \",\");\n";
}
else if (D.Type == OptionType::Prefix || D.Type == OptionType::Parameter){
- O << Indent3 << "Tool::UnpackValues("
- << D.GenVariableName() << ", vec);\n";
+ O << Indent3 << "llvm::SplitString("
+ << D.GenVariableName() << ", vec, \",\");\n";
}
else {
// TOFIX: move this to the type-checking phase