summaryrefslogtreecommitdiff
path: root/utils/TableGen/TGValueTypes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/TGValueTypes.cpp')
-rw-r--r--utils/TableGen/TGValueTypes.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/TableGen/TGValueTypes.cpp b/utils/TableGen/TGValueTypes.cpp
index af0d9f44cf..acb9985e49 100644
--- a/utils/TableGen/TGValueTypes.cpp
+++ b/utils/TableGen/TGValueTypes.cpp
@@ -18,6 +18,9 @@
#include <map>
using namespace llvm;
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wweak-vtables"
+
namespace llvm {
class Type {
@@ -58,6 +61,8 @@ public:
}
};
+#pragma clang diagnostic pop
+
static std::map<unsigned, const Type *>
ExtendedIntegerTypeMap;
static std::map<std::pair<uintptr_t, uintptr_t>, const Type *>