Warnings patrol.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109174 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2010-07-22 21:51:30 +00:00
parent ae7b8b212a
commit ed2b84087f
2 changed files with 6 additions and 6 deletions

View File

@ -71,8 +71,8 @@ template<> struct ilist_traits<NamedMDNode>
NamedMDNode *provideInitialHead() const { return createSentinel(); } NamedMDNode *provideInitialHead() const { return createSentinel(); }
NamedMDNode *ensureHead(NamedMDNode*) const { return createSentinel(); } NamedMDNode *ensureHead(NamedMDNode*) const { return createSentinel(); }
static void noteHead(NamedMDNode*, NamedMDNode*) {} static void noteHead(NamedMDNode*, NamedMDNode*) {}
void addNodeToList(NamedMDNode *N) {} void addNodeToList(NamedMDNode *) {}
void removeNodeFromList(NamedMDNode *N) {} void removeNodeFromList(NamedMDNode *) {}
private: private:
mutable ilist_node<NamedMDNode> Sentinel; mutable ilist_node<NamedMDNode> Sentinel;
}; };

View File

@ -250,10 +250,10 @@ public:
/// code is not supported. It fills the MCContext Ctx pointer which can be /// code is not supported. It fills the MCContext Ctx pointer which can be
/// used to build custom MCStreamer. /// used to build custom MCStreamer.
/// ///
virtual bool addPassesToEmitMC(PassManagerBase &PM, virtual bool addPassesToEmitMC(PassManagerBase &,
MCContext *&Ctx, MCContext *&,
CodeGenOpt::Level OptLevel, CodeGenOpt::Level,
bool DisableVerify = true) { bool = true) {
return true; return true;
} }
}; };