Title: [211088] trunk/Source/WTF
Revision
211088
Author
[email protected]
Date
2017-01-24 10:15:12 -0800 (Tue, 24 Jan 2017)

Log Message

VS2015 supports ref qualifiers
https://bugs.webkit.org/show_bug.cgi?id=167368

Reviewed by Sam Weinig.

* wtf/Compiler.h: Enable
WTF_COMPILER_SUPPORTS_CXX_REFERENCE_QUALIFIED_FUNCTIONS for VS2015

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (211087 => 211088)


--- trunk/Source/WTF/ChangeLog	2017-01-24 17:44:50 UTC (rev 211087)
+++ trunk/Source/WTF/ChangeLog	2017-01-24 18:15:12 UTC (rev 211088)
@@ -1,3 +1,13 @@
+2017-01-24  Konstantin Tokarev  <[email protected]>
+
+        VS2015 supports ref qualifiers
+        https://bugs.webkit.org/show_bug.cgi?id=167368
+
+        Reviewed by Sam Weinig.
+
+        * wtf/Compiler.h: Enable
+        WTF_COMPILER_SUPPORTS_CXX_REFERENCE_QUALIFIED_FUNCTIONS for VS2015
+
 2017-01-24  Daniel Bates  <[email protected]>
 
         StringView.split() should use an iterator design pattern instead of allocating a Vector

Modified: trunk/Source/WTF/wtf/Compiler.h (211087 => 211088)


--- trunk/Source/WTF/wtf/Compiler.h	2017-01-24 17:44:50 UTC (rev 211087)
+++ trunk/Source/WTF/wtf/Compiler.h	2017-01-24 18:15:12 UTC (rev 211088)
@@ -120,8 +120,13 @@
 
 #if defined(_MSC_VER)
 #define WTF_COMPILER_MSVC 1
+
+#if _MSC_VER >= 1900
+#define WTF_COMPILER_SUPPORTS_CXX_REFERENCE_QUALIFIED_FUNCTIONS 1
 #endif
 
+#endif
+
 #if defined(_MSC_VER) && _MSC_VER < 1800
 #error "Please use a newer version of Visual Studio. WebKit requires VS2013 or newer to compile."
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to