Revert my commit in r199620 that added sections about namespaces to the
authorChandler Carruth <chandlerc@gmail.com>
Mon, 20 Jan 2014 10:15:32 +0000 (10:15 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 20 Jan 2014 10:15:32 +0000 (10:15 +0000)
commit70662820ee77209b4e34044e7d28c9207f759af6
tree5a724754caefda3e8805f5d206af85e021e6fb60
parentce30a8106d7d33af9c18518c11e808eaeebc2cce
Revert my commit in r199620 that added sections about namespaces to the
coding standards, and instead fix the existing section.

Thanks to Daniel Jasper for pointing out we already had a section
devoted to this topic. Instead of adding sections, just hack on this
section some. Also fix the example in the anonymous namespace section
below it to agree with the new advice.

As a re-cap, this switches the LLVM preferred style to never indent
namespaces. Having two approaches just led to endless (and utterly
pointless) debates about what was "small enough". This wasn't helping
anyone. The no-indent rule is easy to understand and doesn't really make
anything harder to read. Moreover, with tools like clang-format it is
considerably nicer to have simple consistent rules.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199637 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CodingStandards.rst