mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
[docs] A slight tweak to the intro for the golden rule in the coding
standards. It claims the document intentionally doesn't give fixed standards for brace placement or spacing, and then the document goes on to do precisely that in several places. Instead, try to highlight that even these rules are simply *guidance* which may be trumped by some other circumstance or the local conventions of code. I'm not trying to change the thrust of this part of the document, and if folks think this does so, I'm happy to re-wordsmith it. I just don't want it to be so self-contradicting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202495 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
345ca696e7
commit
72667d1447
@ -14,9 +14,9 @@ absolute requirements to be followed in all instances, coding standards are
|
||||
particularly important for large-scale code bases that follow a library-based
|
||||
design (like LLVM).
|
||||
|
||||
This document intentionally does not prescribe fixed standards for religious
|
||||
issues such as brace placement and space usage. For issues like this, follow
|
||||
the golden rule:
|
||||
While this document may provide guidance for some mechanical formatting issues,
|
||||
whitespace, or other "microscopic details", these are not fixed standards.
|
||||
Always follow the golden rule:
|
||||
|
||||
.. _Golden Rule:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user