diff options
author | Nick Renieris <makren67@gmail.com> | 2018-09-29 10:12:30 +0300 |
---|---|---|
committer | Nick Renieris <makren67@gmail.com> | 2018-09-29 10:12:30 +0300 |
commit | c736b6a7a4485d6a1a86d7c6518569c60f7fc096 (patch) | |
tree | 851ff56fbc2be256f5febdacc7216560eb915953 /docs/doxygen | |
parent | 58fb6ae0d054d823e59e31be8555837e5655b1d8 (diff) |
[docs] Add initializer list whitespace convention in Code Guidelines
Diffstat (limited to 'docs/doxygen')
-rw-r--r-- | docs/doxygen/CODING_GUIDELINES.dox | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/doxygen/CODING_GUIDELINES.dox b/docs/doxygen/CODING_GUIDELINES.dox index df9843bdff..bd22c1b168 100644 --- a/docs/doxygen/CODING_GUIDELINES.dox +++ b/docs/doxygen/CODING_GUIDELINES.dox @@ -165,6 +165,12 @@ doSomething(e); doSomething(f); ~~~~~~~~~~~~~ +Initializer lists have spaces between elements, but no surrounding spaces. + +~~~~~~~~~~~~~ +const char *aStringArray[] = {"one", "two", "three"}; +~~~~~~~~~~~~~ + -------------------------------------------------------------------------------- \subsection code_guidelines_3_1 No vertical alignment |