Remove redundant inline keywords.
authorDan Gohman <gohman@apple.com>
Mon, 16 Aug 2010 21:57:30 +0000 (21:57 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 16 Aug 2010 21:57:30 +0000 (21:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111192 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/PassManager.cpp
lib/VMCore/PrintModulePass.cpp

index df96190b43b27ac274624382acbe0209287ee1cc..ba06e92d9d9ea2ba28967da32eb96d8f1dfdec95 100644 (file)
@@ -266,7 +266,7 @@ public:
     Info.setPreservesAll();
   }
 
-  inline void addTopLevelPass(Pass *P) {
+  void addTopLevelPass(Pass *P) {
     if (ImmutablePass *IP = P->getAsImmutablePass()) {
       // P is a immutable pass and it will be managed by this
       // top level manager. Set up analysis resolver to connect them.
@@ -410,7 +410,7 @@ public:
     Info.setPreservesAll();
   }
 
-  inline void addTopLevelPass(Pass *P) {
+  void addTopLevelPass(Pass *P) {
     if (ImmutablePass *IP = P->getAsImmutablePass()) {
       // P is a immutable pass and it will be managed by this
       // top level manager. Set up analysis resolver to connect them.
index 415309e52fa9c54aba59467f1ae6bdc453da51d1..2ee49d235963c26eb9575a28ecf6c77da2aefbfa 100644 (file)
@@ -58,7 +58,7 @@ namespace {
     PrintFunctionPass(const std::string &B, raw_ostream *o, bool DS)
       : FunctionPass(ID), Banner(B), Out(o), DeleteStream(DS) {}
     
-    inline ~PrintFunctionPass() {
+    ~PrintFunctionPass() {
       if (DeleteStream) delete Out;
     }