summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-07-22 21:51:30 +0000
committerEric Christopher <echristo@apple.com>2010-07-22 21:51:30 +0000
commitc2f81007c01b2c791c656f5d8c69f1d585b1b6df (patch)
tree3838ee1d6ca44353f092e4b30c1ccd487a7ddb2d /llvm
parenteb4e3dce9ba1cd373bad28e05f371676402d03ed (diff)
downloadbcm5719-llvm-c2f81007c01b2c791c656f5d8c69f1d585b1b6df.tar.gz
bcm5719-llvm-c2f81007c01b2c791c656f5d8c69f1d585b1b6df.zip
Warnings patrol.
llvm-svn: 109174
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Module.h4
-rw-r--r--llvm/include/llvm/Target/TargetMachine.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/include/llvm/Module.h b/llvm/include/llvm/Module.h
index 45247ec31c5..b7880ca2cb7 100644
--- a/llvm/include/llvm/Module.h
+++ b/llvm/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/llvm/include/llvm/Target/TargetMachine.h b/llvm/include/llvm/Target/TargetMachine.h
index 29e4f7c0801..2857efb53b9 100644
--- a/llvm/include/llvm/Target/TargetMachine.h
+++ b/llvm/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;
}
};
OpenPOWER on IntegriCloud