Remove the UnpackValues() function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50756 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov
2008-05-06 18:13:45 +00:00
parent 978d498e40
commit d83038c960
4 changed files with 4 additions and 30 deletions

View File

@@ -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