Title: [164771] trunk/Websites/webkit.org
Revision
164771
Author
[email protected]
Date
2014-02-26 19:01:24 -0800 (Wed, 26 Feb 2014)

Log Message

Update style guide to use nullptr instead of 0 for C++ null pointers.
https://bugs.webkit.org/show_bug.cgi?id=129413

Reviewed by Ryosuke Niwa.

* coding/coding-style.html:

Modified Paths

Diff

Modified: trunk/Websites/webkit.org/ChangeLog (164770 => 164771)


--- trunk/Websites/webkit.org/ChangeLog	2014-02-27 02:23:43 UTC (rev 164770)
+++ trunk/Websites/webkit.org/ChangeLog	2014-02-27 03:01:24 UTC (rev 164771)
@@ -1,3 +1,12 @@
+2014-02-26  Bem Jones-Bey  <[email protected]>
+
+        Update style guide to use nullptr instead of 0 for C++ null pointers.
+        https://bugs.webkit.org/show_bug.cgi?id=129413
+
+        Reviewed by Ryosuke Niwa.
+
+        * coding/coding-style.html:
+
 2014-02-10  Bem Jones-Bey  <[email protected]>
 
         Change tools.html to say Xcode 5 is required to build

Modified: trunk/Websites/webkit.org/coding/coding-style.html (164770 => 164771)


--- trunk/Websites/webkit.org/coding/coding-style.html	2014-02-27 02:23:43 UTC (rev 164770)
+++ trunk/Websites/webkit.org/coding/coding-style.html	2014-02-27 03:01:24 UTC (rev 164771)
@@ -423,7 +423,7 @@
 
 <h3 id="zero">Null, false and 0</h3>
 <ol>
-<li id="zero-null">In C++, the null pointer value should be written as <code>0</code>. In C, it should be written as <code>NULL</code>. In Objective-C and Objective-C++, follow the guideline for C or C++, respectively, but use <code>nil</code> to represent a null Objective-C object.</li>
+<li id="zero-null">In C++, the null pointer value should be written as <code>nullptr</code>. In C, it should be written as <code>NULL</code>. In Objective-C and Objective-C++, follow the guideline for C or C++, respectively, but use <code>nil</code> to represent a null Objective-C object.</li>
 
 <li id="zero-bool">C++ and C <code>bool</code> values should be written as <code>true</code> and <code>false</code>. Objective-C <code>BOOL</code> values should be written as <code>YES</code> and <code>NO</code>.</li>
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to