summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-16 21:57:30 +0000
committerDan Gohman <gohman@apple.com>2010-08-16 21:57:30 +0000
commitb85b31b300295d3716832513a64165e3c637338a (patch)
treec34afbbc23ec8c416e967f3fa8fe6c147b5472d7 /lib/VMCore
parent7578ea887de6a7cb22c324b629101683a0afb3c5 (diff)
downloadllvm-b85b31b300295d3716832513a64165e3c637338a.tar.gz
llvm-b85b31b300295d3716832513a64165e3c637338a.tar.bz2
llvm-b85b31b300295d3716832513a64165e3c637338a.tar.xz
Remove redundant inline keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/PassManager.cpp4
-rw-r--r--lib/VMCore/PrintModulePass.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp
index df96190b43..ba06e92d9d 100644
--- a/lib/VMCore/PassManager.cpp
+++ b/lib/VMCore/PassManager.cpp
@@ -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.
diff --git a/lib/VMCore/PrintModulePass.cpp b/lib/VMCore/PrintModulePass.cpp
index 415309e52f..2ee49d2359 100644
--- a/lib/VMCore/PrintModulePass.cpp
+++ b/lib/VMCore/PrintModulePass.cpp
@@ -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;
}