Remove excess semi-colons to quiet warnings.
authorEric Christopher <echristo@apple.com>
Tue, 8 May 2012 20:45:04 +0000 (20:45 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 8 May 2012 20:45:04 +0000 (20:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156416 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 48f3d48c6f4dcd0071260b8dc7d358cbd0d4f300..1122678035b595569748e26651b88a21c81ce6e1 100644 (file)
@@ -92,7 +92,7 @@ namespace llvm {
     ///
     /// 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.
     ///
index 16ea7cf6ed7fe5a5295162e414f64eeba9bd4134..7a16c241ff8fe9885b9ee7c444f5f1c3de60cae9 100644 (file)
@@ -26,15 +26,15 @@ namespace llvm {
     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; }
   };
 }
 
index 54209588a958f40edf7be620b9f76771d18f4f93..b5698a2fc08ff2f39a3e5e64e5d3432c20e58456 100644 (file)
@@ -21,7 +21,7 @@ class Module;
 class NVPTXTargetObjectFile : public TargetLoweringObjectFile {
 
 public:
-  NVPTXTargetObjectFile() {};
+  NVPTXTargetObjectFile() {}
   ~NVPTXTargetObjectFile() {
     delete TextSection;
     delete DataSection;
@@ -43,7 +43,7 @@ public:
     delete DwarfARangesSection;
     delete DwarfRangesSection;
     delete DwarfMacroInfoSection;
-  };
+  }
 
   virtual void Initialize(MCContext &ctx, const TargetMachine &TM) {
     TextSection = new NVPTXSection(MCSection::SV_ELF,
@@ -85,18 +85,18 @@ public:
                                           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;
-  };
+  }
 
 };