diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-05-19 20:15:12 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-05-19 20:15:12 +0000 |
commit | 13d57320bd212483463d4f8992d5787b29eda5df (patch) | |
tree | 4161a4c6087bd4741c341ac401969d3cf82fda65 /include/llvm/ModuleProvider.h | |
parent | 9d60ba9d28c21145515878294b07c91622435632 (diff) |
Remove warnings about unused parameters and shadowed variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ModuleProvider.h')
-rw-r--r-- | include/llvm/ModuleProvider.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/ModuleProvider.h b/include/llvm/ModuleProvider.h index 65bcc763f1..8a0a20c0ef 100644 --- a/include/llvm/ModuleProvider.h +++ b/include/llvm/ModuleProvider.h @@ -48,7 +48,7 @@ public: /// it up to be materialized lazily. If the provider doesn't support this /// capability, this method is a noop. /// - virtual void dematerializeFunction(Function *F) {} + virtual void dematerializeFunction(Function *) {} /// materializeModule - make sure the entire Module has been completely read. /// On error, return null and fill in the error string if specified. @@ -77,10 +77,10 @@ struct ExistingModuleProvider : public ModuleProvider { explicit ExistingModuleProvider(Module *M) { TheModule = M; } - bool materializeFunction(Function *F, std::string *ErrInfo = 0) { + bool materializeFunction(Function *, std::string * = 0) { return false; } - Module* materializeModule(std::string *ErrInfo = 0) { return TheModule; } + Module* materializeModule(std::string * = 0) { return TheModule; } }; } // End llvm namespace |