Fix "warning: extra ';' inside a struct or union" when building llvm with clang
authorShantonu Sen <ssen@apple.com>
Thu, 6 May 2010 14:57:47 +0000 (14:57 +0000)
committerShantonu Sen <ssen@apple.com>
Thu, 6 May 2010 14:57:47 +0000 (14:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103179 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMSubtarget.h

index 3ba0a2e941061dcb70f1a4b1e73fb38358d6a794..8332bba22db9ee5fd923f01518e3034246ac48cc 100644 (file)
@@ -130,8 +130,8 @@ protected:
   bool hasNEON() const { return ARMFPUType >= NEON;  }
   bool useNEONForSinglePrecisionFP() const {
     return hasNEON() && UseNEONForSinglePrecisionFP; }
-  bool hasDivide() const { return HasHardwareDivide; };
-  bool hasT2ExtractPack() const { return HasT2ExtractPack; };
+  bool hasDivide() const { return HasHardwareDivide; }
+  bool hasT2ExtractPack() const { return HasT2ExtractPack; }
   bool useVMLx() const {return hasVFP2() && !SlowVMLx; }
 
   bool hasFP16() const { return HasFP16; }