[llvm-commits] [llvm] r109174 - in /llvm/trunk/include/llvm: Module.h Target/TargetMachine.h

Eric Christopher echristo at apple.com
Thu Jul 22 14:51:30 PDT 2010


Author: echristo
Date: Thu Jul 22 16:51:30 2010
New Revision: 109174

URL: http://llvm.org/viewvc/llvm-project?rev=109174&view=rev
Log:
Warnings patrol.

Modified:
    llvm/trunk/include/llvm/Module.h
    llvm/trunk/include/llvm/Target/TargetMachine.h

Modified: llvm/trunk/include/llvm/Module.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Module.h?rev=109174&r1=109173&r2=109174&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Module.h (original)
+++ llvm/trunk/include/llvm/Module.h Thu Jul 22 16:51:30 2010
@@ -71,8 +71,8 @@
   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;
 };

Modified: llvm/trunk/include/llvm/Target/TargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetMachine.h?rev=109174&r1=109173&r2=109174&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetMachine.h (original)
+++ llvm/trunk/include/llvm/Target/TargetMachine.h Thu Jul 22 16:51:30 2010
@@ -250,10 +250,10 @@
   /// 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;
   }
 };





More information about the llvm-commits mailing list