Title: [194469] trunk/Source/WTF
Revision
194469
Author
[email protected]
Date
2015-12-31 14:47:14 -0800 (Thu, 31 Dec 2015)

Log Message

Rename WTF_MOVE to WTFMove
https://bugs.webkit.org/show_bug.cgi?id=152601

Reviewed by Daniel Bates.

Our coding style guidelines say that macros that expand to function calls should be named like functions,
so WTFMove() is a more appropriate name.

* wtf/StdLibExtras.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (194468 => 194469)


--- trunk/Source/WTF/ChangeLog	2015-12-31 21:29:51 UTC (rev 194468)
+++ trunk/Source/WTF/ChangeLog	2015-12-31 22:47:14 UTC (rev 194469)
@@ -1,3 +1,15 @@
+2015-12-31  Andy Estes  <[email protected]>
+
+        Rename WTF_MOVE to WTFMove
+        https://bugs.webkit.org/show_bug.cgi?id=152601
+
+        Reviewed by Daniel Bates.
+
+        Our coding style guidelines say that macros that expand to function calls should be named like functions,
+        so WTFMove() is a more appropriate name.
+
+        * wtf/StdLibExtras.h:
+
 2015-12-30  Andy Estes  <[email protected]>
 
         Use of WTF::move prevents clang's move diagnostics from warning about several classes of mistakes

Modified: trunk/Source/WTF/wtf/StdLibExtras.h (194468 => 194469)


--- trunk/Source/WTF/wtf/StdLibExtras.h	2015-12-31 21:29:51 UTC (rev 194468)
+++ trunk/Source/WTF/wtf/StdLibExtras.h	2015-12-31 22:47:14 UTC (rev 194469)
@@ -397,7 +397,7 @@
 
 } // namespace std
 
-#define WTF_MOVE(value) std::move<WTF::CheckMoveParameter>(value)
+#define WTFMove(value) std::move<WTF::CheckMoveParameter>(value)
 
 using WTF::KB;
 using WTF::MB;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to