Rewrite of andersen's to be about 100x faster, cleaner, and begin to support field...
[oota-llvm.git] / lib / Analysis / CFGPrinter.cpp
index 74666664d88d51f83876218899ff2da661da88a8..d32481e7f3bd94a1319c8068923dd1aaed7541e6 100644 (file)
@@ -135,7 +135,7 @@ namespace {
   struct VISIBILITY_HIDDEN CFGPrinter : public FunctionPass {
     static char ID; // Pass identification, replacement for typeid
     CFGPrinter() : FunctionPass((intptr_t)&ID) {}
-    CFGPrinter(intptr_t pid) : FunctionPass(pid) {}
+    explicit CFGPrinter(intptr_t pid) : FunctionPass(pid) {}
 
     virtual bool runOnFunction(Function &F) {
       std::string Filename = "cfg." + F.getName() + ".dot";