code-style: add rule for range-based for

refs #2113

Change-Id: I0e9628892f4d2acff8d32f8e824b3481d23b97cd
diff --git a/docs/code-style.rst b/docs/code-style.rst
index f282448..bb262a2 100644
--- a/docs/code-style.rst
+++ b/docs/code-style.rst
@@ -322,6 +322,14 @@
     Each initialization should be put on a separate line, starting either with the colon
     for the first initialization or with comma for all subsequent initializations.
 
+1.14. A range-based ``for`` statement should have the following form:
+
+    .. code-block:: c++
+
+        for (T i : range) {
+          statements;
+        }
+
 2. Naming Conventions
 ---------------------