summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit3a2f5c423e4f5ee8938984a3d88e3ff430c3cb25 (patch)
treeb88eeb8925e257f601c7db6ded0b581bac0b6d5f /llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
parent7f6ed20009208c42046dd835c89657e2286cc508 (diff)
downloadbcm5719-llvm-3a2f5c423e4f5ee8938984a3d88e3ff430c3cb25.tar.gz
bcm5719-llvm-3a2f5c423e4f5ee8938984a3d88e3ff430c3cb25.zip
Remove the UnpackValues() function.
llvm-svn: 50756
Diffstat (limited to 'llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 32b6d383288..ab6f2efc484 100644
--- a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud