summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-01-20 10:15:32 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-01-20 10:15:32 +0000
commit70662820ee77209b4e34044e7d28c9207f759af6 (patch)
tree5a724754caefda3e8805f5d206af85e021e6fb60 /lib
parentce30a8106d7d33af9c18518c11e808eaeebc2cce (diff)
downloadllvm-70662820ee77209b4e34044e7d28c9207f759af6.tar.gz
llvm-70662820ee77209b4e34044e7d28c9207f759af6.tar.bz2
llvm-70662820ee77209b4e34044e7d28c9207f759af6.tar.xz
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
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions