mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-31 17:42:40 +00:00
Warnings patrol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109174 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae7b8b212a
commit
ed2b84087f
@ -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;
|
||||
};
|
||||
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user