Revert "[C++11] Add predecessors(BasicBlock *) / successors(BasicBlock *) iterator...
[oota-llvm.git] / include / llvm / IR / LegacyPassManager.h
index fa1436ec63247caa60fc3572e2d68490fc541f25..c967a6bca8b260de615ab53973f3ca9475b45830 100644 (file)
@@ -55,7 +55,7 @@ public:
   /// the Pass to the PassManager.  When the PassManager is destroyed, the pass
   /// will be destroyed as well, so there is no need to delete the pass.  This
   /// implies that all passes MUST be allocated with 'new'.
-  void add(Pass *P);
+  void add(Pass *P) override;
 
   /// run - Execute all of the passes scheduled for execution.  Keep track of
   /// whether any of the passes modifies the module, and if so, return true.
@@ -80,7 +80,7 @@ public:
   /// PassManager_X is destroyed, the pass will be destroyed as well, so
   /// there is no need to delete the pass.
   /// This implies that all passes MUST be allocated with 'new'.
-  void add(Pass *P);
+  void add(Pass *P) override;
 
   /// run - Execute all of the passes scheduled for execution.  Keep
   /// track of whether any of the passes modifies the function, and if