Make the list accept comma separated names

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6295 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-05-22 20:27:13 +00:00
parent 72fb8e5082
commit 88c7c3295d

View File

@ -27,7 +27,8 @@ namespace {
// APIList - A list of symbols that should not be marked internal.
cl::list<std::string>
APIList("internalize-public-api-list", cl::value_desc("list"),
cl::desc("A list of symbol names to preserve"));
cl::desc("A list of symbol names to preserve"),
cl::CommaSeparated);
class InternalizePass : public Pass {
std::set<std::string> ExternalNames;