summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/utils/TableGen/TGValueTypes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/TGValueTypes.cpp b/llvm/utils/TableGen/TGValueTypes.cpp
index 07400cf7447..3ac71a49147 100644
--- a/llvm/utils/TableGen/TGValueTypes.cpp
+++ b/llvm/utils/TableGen/TGValueTypes.cpp
@@ -47,7 +47,7 @@ public:
: Type(TK_ExtendedIntegerType), BitWidth(bits) {}
static bool classof(const Type *T) {
return T->getKind() == TK_ExtendedIntegerType;
- };
+ }
unsigned getSizeInBits() const {
return getBitWidth();
}
@@ -64,7 +64,7 @@ public:
: Type(TK_ExtendedVectorType), ElementType(elty), NumElements(num) {}
static bool classof(const Type *T) {
return T->getKind() == TK_ExtendedVectorType;
- };
+ }
unsigned getSizeInBits() const {
return getNumElements() * getElementType().getSizeInBits();
}
OpenPOWER on IntegriCloud