summaryrefslogtreecommitdiffstats
path: root/styleguide
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2014-09-26 15:11:42 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-26 22:11:59 +0000
commit906dbd5c2580b79f4809cd5d5cd8cb40a21aa10d (patch)
tree766a946ff2b8a33376df2dd5d8d0fb182b9be678 /styleguide
parent30060f4e94cd282f797942943cce76dd0f3c2350 (diff)
downloadchromium_src-906dbd5c2580b79f4809cd5d5cd8cb40a21aa10d.zip
chromium_src-906dbd5c2580b79f4809cd5d5cd8cb40a21aa10d.tar.gz
chromium_src-906dbd5c2580b79f4809cd5d5cd8cb40a21aa10d.tar.bz2
Consolidate all banned features into one table.
This is a slight cleanup after d9a02e76127634286ff0c760f87db260b367492a. BUG= Review URL: https://codereview.chromium.org/611623002 Cr-Commit-Position: refs/heads/master@{#297052}
Diffstat (limited to 'styleguide')
-rw-r--r--styleguide/c++/c++11.html32
1 files changed, 9 insertions, 23 deletions
diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html
index 45559dd8..80e99d8 100644
--- a/styleguide/c++/c++11.html
+++ b/styleguide/c++/c++11.html
@@ -153,7 +153,7 @@ Are Variadic macros nonstandard?</a></td>
<td><code>template &lt;<i>typename</i> ... <i>arg</i>&gt;</code></td>
<td>Allows templates that accept a variable number of arguments</td>
<td>TODO: documentation link</td>
-<td>Usage should be rare. Use instead of .pump files.<a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/6ItymeMXpMc">Discussion thread</a></td>
+<td>Usage should be rare. Use instead of .pump files. <a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/6ItymeMXpMc">Discussion thread</a></td>
</tr>
</tbody>
@@ -163,28 +163,6 @@ Are Variadic macros nonstandard?</a></td>
<p>This section lists features that are not allowed to be used yet.
-<table id="banned_list" class="unlined striped">
-<tbody>
-
-<tr>
-<th style='width:240px;'>Feature or Library</th>
-<th style='width:240px;'>Snippet</th>
-<th style='width:240px;'>Description</th>
-<th style='width:240px;'>Documentation Link</th>
-<th style='width:240px;'>Notes</th>
-</tr>
-
-<tr>
-<td>Rvalue References (and Move Semantics)</td>
-<td><code>T(T&amp;&amp; t)</code> and <code>T&amp; operator=(T&amp;&amp; t)</code></td>
-<td>Reference that only binds to a temporary object</td>
-<td>TODO: documentation link</td>
-<td>To be revisited in the future. Allowed in exceptional cases where approved by the OWNERS of src/styleguide/c++/.</td>
-</tr>
-
-</tbody>
-</table>
-
<h3 id="blacklist_banned">C++11 Banned Features</h3>
<p>This section will list C++11 features that are not allowed in the Chromium
@@ -223,6 +201,14 @@ The __func__ Predeclared Identifier is Coming to C++</a></td>
</tr>
<tr>
+<td>Rvalue References (and Move Semantics)</td>
+<td><code>T(T&amp;&amp; t)</code> and <code>T&amp; operator=(T&amp;&amp; t)</code></td>
+<td>Reference that only binds to a temporary object</td>
+<td>TODO: documentation link</td>
+<td>To be revisited in the future. Allowed in exceptional cases where approved by the OWNERS of src/styleguide/c++/.</td>
+</tr>
+
+<tr>
<td>UTF-16 and UTF-32 Support (16-Bit and 32-Bit Character Types)</td>
<td><code>char16_t</code> and <code>char32_t</code></td>
<td>Provides character types for handling 16-bit