X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FModuleProvider.h;h=8a0a20c0ef6681ae286c33039b73b4159ed7634d;hb=a6fb5b54f3a35fdefbb03b9c7be4c6d6d53cdd35;hp=17ff6b242da13f3612dd7b3c4caa88cc984eec90;hpb=7ed47a13356daed2a34cd2209a31f92552e3bdd8;p=oota-llvm.git diff --git a/include/llvm/ModuleProvider.h b/include/llvm/ModuleProvider.h index 17ff6b242da..8a0a20c0ef6 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. @@ -74,13 +74,13 @@ public: /// if we just have a Module. Note that the ModuleProvider takes ownership of /// the Module specified. struct ExistingModuleProvider : public ModuleProvider { - ExistingModuleProvider(Module *M) { + 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