Title: [129819] trunk/Source/WTF
Revision
129819
Author
ander...@apple.com
Date
2012-09-27 16:57:06 -0700 (Thu, 27 Sep 2012)

Log Message

Remove the clang pragmas to disable warnings in Noncopyable.h
https://bugs.webkit.org/show_bug.cgi?id=97826

Reviewed by Beth Dakin.

Warnings about C++11 extensions are already disabled project-wide now so there's no need
to keep these pragmas.

* wtf/Noncopyable.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (129818 => 129819)


--- trunk/Source/WTF/ChangeLog	2012-09-27 23:51:47 UTC (rev 129818)
+++ trunk/Source/WTF/ChangeLog	2012-09-27 23:57:06 UTC (rev 129819)
@@ -1,3 +1,15 @@
+2012-09-27  Anders Carlsson  <ander...@apple.com>
+
+        Remove the clang pragmas to disable warnings in Noncopyable.h
+        https://bugs.webkit.org/show_bug.cgi?id=97826
+
+        Reviewed by Beth Dakin.
+
+        Warnings about C++11 extensions are already disabled project-wide now so there's no need
+        to keep these pragmas.
+
+        * wtf/Noncopyable.h:
+
 2012-09-26  Mark Hahnenberg  <mhahnenb...@apple.com>
 
         Clean up HasTrivialConstructor/Destructor

Modified: trunk/Source/WTF/wtf/Noncopyable.h (129818 => 129819)


--- trunk/Source/WTF/wtf/Noncopyable.h	2012-09-27 23:51:47 UTC (rev 129818)
+++ trunk/Source/WTF/wtf/Noncopyable.h	2012-09-27 23:57:06 UTC (rev 129819)
@@ -25,13 +25,9 @@
 
 #if COMPILER_SUPPORTS(CXX_DELETED_FUNCTIONS)
     #define WTF_MAKE_NONCOPYABLE(ClassName) \
-        CLANG_PRAGMA("clang diagnostic push") \
-        CLANG_PRAGMA("clang diagnostic ignored \"-Wunknown-pragmas\"") \
-        CLANG_PRAGMA("clang diagnostic ignored \"-Wc++0x-extensions\"") \
         private: \
             ClassName(const ClassName&) = delete; \
-            ClassName& operator=(const ClassName&) = delete; \
-        CLANG_PRAGMA("clang diagnostic pop")
+            ClassName& operator=(const ClassName&) = delete;
 #else
     #define WTF_MAKE_NONCOPYABLE(ClassName) \
         private: \
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to