mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +00:00
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user