From cfbe401e8b678aad7238b3d6edb366e68470f6a5 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 20 Aug 2010 01:00:03 +0000 Subject: [PATCH] Minor cleanups to follow the common convention for pass registration variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111598 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/opt/PrintSCC.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/opt/PrintSCC.cpp b/tools/opt/PrintSCC.cpp index 067c2038f76..ba58a43d3b6 100644 --- a/tools/opt/PrintSCC.cpp +++ b/tools/opt/PrintSCC.cpp @@ -61,16 +61,16 @@ namespace { AU.addRequired(); } }; - - char CFGSCC::ID = 0; - RegisterPass - Y("print-cfg-sccs", "Print SCCs of each function CFG"); - - char CallGraphSCC::ID = 0; - RegisterPass - Z("print-callgraph-sccs", "Print SCCs of the Call Graph"); } +char CFGSCC::ID = 0; +static RegisterPass +Y("print-cfg-sccs", "Print SCCs of each function CFG"); + +char CallGraphSCC::ID = 0; +static RegisterPass +Z("print-callgraph-sccs", "Print SCCs of the Call Graph"); + bool CFGSCC::runOnFunction(Function &F) { unsigned sccNum = 0; outs() << "SCCs for Function " << F.getName() << " in PostOrder:";