aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShantonu Sen <ssen@apple.com>2010-05-06 14:57:47 +0000
committerShantonu Sen <ssen@apple.com>2010-05-06 14:57:47 +0000
commiteae216c6d3d29cb9024ddf436a8f2ce222bb9ec8 (patch)
tree3ebba5098f93bc43bc3a5d9f8df2ebed5f076126
parent5fe03c023cd47a718759a3a4dc1d8e33297ae0fc (diff)
downloadexternal_llvm-eae216c6d3d29cb9024ddf436a8f2ce222bb9ec8.zip
external_llvm-eae216c6d3d29cb9024ddf436a8f2ce222bb9ec8.tar.gz
external_llvm-eae216c6d3d29cb9024ddf436a8f2ce222bb9ec8.tar.bz2
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
-rw-r--r--lib/Target/ARM/ARMSubtarget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h
index 3ba0a2e..8332bba 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; }