[llvm-commits] [llvm] r156416 - in /llvm/trunk: include/llvm/Transforms/Utils/CodeExtractor.h lib/Target/Hexagon/HexagonMCInst.h lib/Target/NVPTX/NVPTXTargetObjectFile.h

Eric Christopher echristo at apple.com
Tue May 8 13:45:04 PDT 2012


Author: echristo
Date: Tue May  8 15:45:04 2012
New Revision: 156416

URL: http://llvm.org/viewvc/llvm-project?rev=156416&view=rev
Log:
Remove excess semi-colons to quiet warnings.

Modified:
    llvm/trunk/include/llvm/Transforms/Utils/CodeExtractor.h
    llvm/trunk/lib/Target/Hexagon/HexagonMCInst.h
    llvm/trunk/lib/Target/NVPTX/NVPTXTargetObjectFile.h

Modified: llvm/trunk/include/llvm/Transforms/Utils/CodeExtractor.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/CodeExtractor.h?rev=156416&r1=156415&r2=156416&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/CodeExtractor.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/CodeExtractor.h Tue May  8 15:45:04 2012
@@ -92,7 +92,7 @@
     ///
     /// Based on the blocks used when constructing the code extractor,
     /// determine whether it is eligible for extraction.
-    bool isEligible() const { return !Blocks.empty(); };
+    bool isEligible() const { return !Blocks.empty(); }
 
     /// \brief Compute the set of input values and output values for the code.
     ///

Modified: llvm/trunk/lib/Target/Hexagon/HexagonMCInst.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonMCInst.h?rev=156416&r1=156415&r2=156416&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonMCInst.h (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonMCInst.h Tue May  8 15:45:04 2012
@@ -26,15 +26,15 @@
     explicit HexagonMCInst(): MCInst(),
                               startPacket(0), endPacket(0) {}
 
-    const MachineInstr* getMI() const { return MachineI; };
+    const MachineInstr* getMI() const { return MachineI; }
 
-    void setMI(const MachineInstr *MI) { MachineI = MI; };
+    void setMI(const MachineInstr *MI) { MachineI = MI; }
 
-    bool isStartPacket() const { return (startPacket); };
-    bool isEndPacket() const { return (endPacket); };
+    bool isStartPacket() const { return (startPacket); }
+    bool isEndPacket() const { return (endPacket); }
 
-    void setStartPacket(bool yes) { startPacket = yes; };
-    void setEndPacket(bool yes) { endPacket = yes; };
+    void setStartPacket(bool yes) { startPacket = yes; }
+    void setEndPacket(bool yes) { endPacket = yes; }
   };
 }
 

Modified: llvm/trunk/lib/Target/NVPTX/NVPTXTargetObjectFile.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/NVPTX/NVPTXTargetObjectFile.h?rev=156416&r1=156415&r2=156416&view=diff
==============================================================================
--- llvm/trunk/lib/Target/NVPTX/NVPTXTargetObjectFile.h (original)
+++ llvm/trunk/lib/Target/NVPTX/NVPTXTargetObjectFile.h Tue May  8 15:45:04 2012
@@ -21,7 +21,7 @@
 class NVPTXTargetObjectFile : public TargetLoweringObjectFile {
 
 public:
-  NVPTXTargetObjectFile() {};
+  NVPTXTargetObjectFile() {}
   ~NVPTXTargetObjectFile() {
     delete TextSection;
     delete DataSection;
@@ -43,7 +43,7 @@
     delete DwarfARangesSection;
     delete DwarfRangesSection;
     delete DwarfMacroInfoSection;
-  };
+  }
 
   virtual void Initialize(MCContext &ctx, const TargetMachine &TM) {
     TextSection = new NVPTXSection(MCSection::SV_ELF,
@@ -85,18 +85,18 @@
                                           SectionKind::getMetadata());
     DwarfMacroInfoSection = new NVPTXSection(MCSection::SV_ELF,
                                              SectionKind::getMetadata());
-  };
+  }
 
   virtual const MCSection *getSectionForConstant(SectionKind Kind) const {
     return ReadOnlySection;
-  };
+  }
 
   virtual const MCSection *
   getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
                            Mangler *Mang,
                            const TargetMachine &TM) const {
     return DataSection;
-  };
+  }
 
 };
 





More information about the llvm-commits mailing list