From: Shantonu Sen Date: Thu, 6 May 2010 14:57:47 +0000 (+0000) Subject: Fix "warning: extra ';' inside a struct or union" when building llvm with clang X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eae216c6d3d29cb9024ddf436a8f2ce222bb9ec8;p=oota-llvm.git Fix "warning: extra ';' inside a struct or union" when building llvm with clang git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103179 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 3ba0a2e9410..8332bba22db 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -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; }