Make single-argument ctors explicit to avoid tricky bugs :)
[oota-llvm.git] / include / llvm / CallGraphSCCPass.h
index 90894c280c6c9162df5a0f487c40b0705c33a8eb..2bc163d548755f0e0c2b12e18bddf522c0fbecc7 100644 (file)
@@ -31,7 +31,7 @@ class PMStack;
 
 struct CallGraphSCCPass : public Pass {
 
-  CallGraphSCCPass(intptr_t pid) : Pass(pid) {}
+  explicit CallGraphSCCPass(intptr_t pid) : Pass(pid) {}
 
   /// doInitialization - This method is called before the SCC's of the program
   /// has been processed, allowing the pass to do initialization as necessary.