aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/IR/Type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/IR/Type.h')
-rw-r--r--include/llvm/IR/Type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/IR/Type.h b/include/llvm/IR/Type.h
index c2073c7..09b6388 100644
--- a/include/llvm/IR/Type.h
+++ b/include/llvm/IR/Type.h
@@ -91,8 +91,8 @@ protected:
NumContainedTys(0), ContainedTys(nullptr) {
setTypeID(tid);
}
- ~Type() {}
-
+ ~Type() = default;
+
void setTypeID(TypeID ID) {
IDAndSubclassData = (ID & 0xFF) | (IDAndSubclassData & 0xFFFFFF00);
assert(getTypeID() == ID && "TypeID data too large for field");