diff --git a/tools/analyze/analyze.cpp b/tools/analyze/analyze.cpp index 8a1d86caf17..6de37384705 100644 --- a/tools/analyze/analyze.cpp +++ b/tools/analyze/analyze.cpp @@ -126,11 +126,10 @@ Pass *New(const string &Message) { } - -Pass *NewPrintFunction(const string &Message) { +Pass *createPrintFunctionPass(const string &Message) { return new PrintFunctionPass(Message, &std::cout); } -Pass *NewPrintModule(const string &Message) { +Pass *createPrintModulePass(const string &Message) { return new PrintModulePass(&std::cout); } @@ -262,7 +261,7 @@ struct { Pass *(*PassConstructor)(const string &Message); } AnTable[] = { // Global analyses - { print , NewPrintFunction }, + { print , createPrintFunctionPass }, { intervals , New }, { loops , New }, { instforest , Create > }, @@ -270,7 +269,7 @@ struct { { exprs , Create > }, // IP Analyses... - { printmodule , NewPrintModule }, + { printmodule , createPrintModulePass }, { printusedtypes , New }, { callgraph , New }, { datastructure , New },