diff options
-rw-r--r-- | include/llvm/Module.h | 4 | ||||
-rw-r--r-- | include/llvm/Target/TargetMachine.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h index 45247ec31c..b7880ca2cb 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -71,8 +71,8 @@ template<> struct ilist_traits<NamedMDNode> NamedMDNode *provideInitialHead() const { return createSentinel(); } NamedMDNode *ensureHead(NamedMDNode*) const { return createSentinel(); } static void noteHead(NamedMDNode*, NamedMDNode*) {} - void addNodeToList(NamedMDNode *N) {} - void removeNodeFromList(NamedMDNode *N) {} + void addNodeToList(NamedMDNode *) {} + void removeNodeFromList(NamedMDNode *) {} private: mutable ilist_node<NamedMDNode> Sentinel; }; diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 29e4f7c080..2857efb53b 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -250,10 +250,10 @@ public: /// code is not supported. It fills the MCContext Ctx pointer which can be /// used to build custom MCStreamer. /// - virtual bool addPassesToEmitMC(PassManagerBase &PM, - MCContext *&Ctx, - CodeGenOpt::Level OptLevel, - bool DisableVerify = true) { + virtual bool addPassesToEmitMC(PassManagerBase &, + MCContext *&, + CodeGenOpt::Level, + bool = true) { return true; } }; |