Make the list accept comma separated names
authorChris Lattner <sabre@nondot.org>
Thu, 22 May 2003 20:27:13 +0000 (20:27 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 May 2003 20:27:13 +0000 (20:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6295 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/Internalize.cpp

index aa238c33bfb02a3617dd0d5a810d57ab5010625f..ec28ecf81d0607ddd0f99af46d35e85ad4ea2dcb 100644 (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;