[llvm-commits] [llvm] r103179 - /llvm/trunk/lib/Target/ARM/ARMSubtarget.h
Shantonu Sen
ssen at apple.com
Thu May 6 07:57:47 PDT 2010
Author: ssen
Date: Thu May 6 09:57:47 2010
New Revision: 103179
URL: http://llvm.org/viewvc/llvm-project?rev=103179&view=rev
Log:
Fix "warning: extra ';' inside a struct or union" when building llvm with clang
Modified:
llvm/trunk/lib/Target/ARM/ARMSubtarget.h
Modified: llvm/trunk/lib/Target/ARM/ARMSubtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMSubtarget.h?rev=103179&r1=103178&r2=103179&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMSubtarget.h (original)
+++ llvm/trunk/lib/Target/ARM/ARMSubtarget.h Thu May 6 09:57:47 2010
@@ -130,8 +130,8 @@
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; }
More information about the llvm-commits
mailing list