diff options
author | Eric Christopher <echristo@apple.com> | 2010-07-22 21:51:30 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-07-22 21:51:30 +0000 |
commit | ed2b84087f4ff1df77b73afaf2003c97816fe7ec (patch) | |
tree | d25bfa537dcc85335db14521943b4b663b8ce560 | |
parent | ae7b8b212ac1e87cbd51968f38283b578555bdf5 (diff) |
Warnings patrol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109174 91177308-0d34-0410-b5e6-96231b3b80d8
-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; } }; |