From 0c271bccf7b0e13f5c6fc84c1813c5e31190b960 Mon Sep 17 00:00:00 2001 From: David Blaikie <dblaikie@gmail.com> Date: Tue, 20 Dec 2011 08:22:49 +0000 Subject: [PATCH] Revert pragma clang suppressions that confuse GCC. (I'll worry about how to suppress/fix these problems properly when we figure out how to keep LLVM -Wweak-vtables clean) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146965 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/TGValueTypes.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/utils/TableGen/TGValueTypes.cpp b/utils/TableGen/TGValueTypes.cpp index acb9985e499..af0d9f44cf4 100644 --- a/utils/TableGen/TGValueTypes.cpp +++ b/utils/TableGen/TGValueTypes.cpp @@ -18,9 +18,6 @@ #include <map> using namespace llvm; -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wweak-vtables" - namespace llvm { class Type { @@ -61,8 +58,6 @@ public: } }; -#pragma clang diagnostic pop - static std::map<unsigned, const Type *> ExtendedIntegerTypeMap; static std::map<std::pair<uintptr_t, uintptr_t>, const Type *> -- 2.34.1