[llvm-commits] [llvm] r146965 - /llvm/trunk/utils/TableGen/TGValueTypes.cpp

David Blaikie dblaikie at gmail.com
Tue Dec 20 00:22:50 PST 2011


Author: dblaikie
Date: Tue Dec 20 02:22:49 2011
New Revision: 146965

URL: http://llvm.org/viewvc/llvm-project?rev=146965&view=rev
Log:
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)

Modified:
    llvm/trunk/utils/TableGen/TGValueTypes.cpp

Modified: llvm/trunk/utils/TableGen/TGValueTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/TGValueTypes.cpp?rev=146965&r1=146964&r2=146965&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/TGValueTypes.cpp (original)
+++ llvm/trunk/utils/TableGen/TGValueTypes.cpp Tue Dec 20 02:22:49 2011
@@ -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 @@
   }
 };
 
-#pragma clang diagnostic pop
-
 static std::map<unsigned, const Type *>
   ExtendedIntegerTypeMap;
 static std::map<std::pair<uintptr_t, uintptr_t>, const Type *>





More information about the llvm-commits mailing list