summaryrefslogtreecommitdiff
path: root/include/llvm/Pass.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-10-14 20:28:33 +0000
committerEric Christopher <echristo@apple.com>2009-10-14 20:28:33 +0000
commit41b5adf20208f46e4b1104d6d473710fbfa61eb9 (patch)
treed3a4721092a33ae0ce3c932f009911cac8e170a3 /include/llvm/Pass.h
parent6c79e2c9aacba94d830f2944c8d5e4f3a4d91eb8 (diff)
downloadllvm-41b5adf20208f46e4b1104d6d473710fbfa61eb9.tar.gz
llvm-41b5adf20208f46e4b1104d6d473710fbfa61eb9.tar.bz2
llvm-41b5adf20208f46e4b1104d6d473710fbfa61eb9.tar.xz
Remove a bunch of unused arguments from functions, silencing a
warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r--include/llvm/Pass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index eb4c92281c..2791936522 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -276,7 +276,7 @@ public:
/// doInitialization - Virtual method overridden by subclasses to do
/// any necessary per-module initialization.
///
- virtual bool doInitialization(Module &M) { return false; }
+ virtual bool doInitialization(Module &) { return false; }
/// runOnFunction - Virtual method overriden by subclasses to do the
/// per-function processing of the pass.
@@ -328,7 +328,7 @@ public:
/// doInitialization - Virtual method overridden by subclasses to do
/// any necessary per-module initialization.
///
- virtual bool doInitialization(Module &M) { return false; }
+ virtual bool doInitialization(Module &) { return false; }
/// doInitialization - Virtual method overridden by BasicBlockPass subclasses
/// to do any necessary per-function initialization.