[llvm-branch-commits] [llvm-branch] r96542 - in /llvm/branches/Apple/Hermes/include/llvm: CodeGen/AsmPrinter.h Pass.h Target/TargetMachine.h

Eric Christopher echristo at apple.com
Wed Feb 17 16:39:14 PST 2010


Author: echristo
Date: Wed Feb 17 18:39:14 2010
New Revision: 96542

URL: http://llvm.org/viewvc/llvm-project?rev=96542&view=rev
Log:
Merge from mainline:

New Revision: 96533

Log:
Fix a few unused parameter warnings.

Modified:
   llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
   llvm/trunk/include/llvm/Pass.h
   llvm/trunk/include/llvm/Target/TargetMachine.h


Modified:
    llvm/branches/Apple/Hermes/include/llvm/CodeGen/AsmPrinter.h
    llvm/branches/Apple/Hermes/include/llvm/Pass.h
    llvm/branches/Apple/Hermes/include/llvm/Target/TargetMachine.h

Modified: llvm/branches/Apple/Hermes/include/llvm/CodeGen/AsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Hermes/include/llvm/CodeGen/AsmPrinter.h?rev=96542&r1=96541&r2=96542&view=diff

==============================================================================
--- llvm/branches/Apple/Hermes/include/llvm/CodeGen/AsmPrinter.h (original)
+++ llvm/branches/Apple/Hermes/include/llvm/CodeGen/AsmPrinter.h Wed Feb 17 18:39:14 2010
@@ -230,7 +230,7 @@
     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");
     }
     

Modified: llvm/branches/Apple/Hermes/include/llvm/Pass.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Hermes/include/llvm/Pass.h?rev=96542&r1=96541&r2=96542&view=diff

==============================================================================
--- llvm/branches/Apple/Hermes/include/llvm/Pass.h (original)
+++ llvm/branches/Apple/Hermes/include/llvm/Pass.h Wed Feb 17 18:39:14 2010
@@ -163,7 +163,7 @@
   /// 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; }

Modified: llvm/branches/Apple/Hermes/include/llvm/Target/TargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Hermes/include/llvm/Target/TargetMachine.h?rev=96542&r1=96541&r2=96542&view=diff

==============================================================================
--- llvm/branches/Apple/Hermes/include/llvm/Target/TargetMachine.h (original)
+++ llvm/branches/Apple/Hermes/include/llvm/Target/TargetMachine.h Wed Feb 17 18:39:14 2010
@@ -212,7 +212,7 @@
   /// is not supported, or false on success.
   virtual bool addPassesToEmitFile(PassManagerBase &,
                                    formatted_raw_ostream &,
-                                   CodeGenFileType Filetype,
+                                   CodeGenFileType,
                                    CodeGenOpt::Level) {
     return true;
   }





More information about the llvm-branch-commits mailing list