Fix a few unused parameter warnings.
authorEric Christopher <echristo@apple.com>
Wed, 17 Feb 2010 23:55:26 +0000 (23:55 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 17 Feb 2010 23:55:26 +0000 (23:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96533 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h
include/llvm/Pass.h
include/llvm/Target/TargetMachine.h

index d4e8887288f7f4110228299b1ff28994982578e0..8ade1bd64af66d7f977ba5feaa576abb24c987ab 100644 (file)
@@ -223,7 +223,7 @@ namespace llvm {
     void EmitFunctionBody();
 
     /// EmitInstruction - Targets should implement this to emit instructions.
-    virtual void EmitInstruction(const MachineInstr *MI) {
+    virtual void EmitInstruction(const MachineInstr *) {
       assert(0 && "EmitInstruction not implemented");
     }
     
index e822a0f3db236eb3094dd9b163a5ee4ec0161cd2..8fc3a5307b3ae92f0ec62043c488dda739f667c7 100644 (file)
@@ -163,7 +163,7 @@ public:
   /// an analysis interface through multiple inheritance.  If needed, it should
   /// override this to adjust the this pointer as needed for the specified pass
   /// info.
-  virtual void *getAdjustedAnalysisPointer(const PassInfo *PI) {
+  virtual void *getAdjustedAnalysisPointer(const PassInfo *) {
     return this;
   }
   virtual ImmutablePass *getAsImmutablePass() { return 0; }
index c496e11926e12779dd69e23900f277773b13c766..b671ae18ceba3e8c0860284125bebce522aa34f9 100644 (file)
@@ -189,7 +189,7 @@ public:
   /// is not supported, or false on success.
   virtual bool addPassesToEmitFile(PassManagerBase &,
                                    formatted_raw_ostream &,
-                                   CodeGenFileType Filetype,
+                                   CodeGenFileType,
                                    CodeGenOpt::Level) {
     return true;
   }