mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Simplify the coding standards for #include ordering. The ordering is now
trivially achievable with an editor. I'll likely check in a silly python script to help with this too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169107 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
19b3f3d985
commit
afcc374524
@ -284,17 +284,10 @@ listed. We prefer these ``#include``\s to be listed in this order:
|
||||
|
||||
#. Main Module Header
|
||||
#. Local/Private Headers
|
||||
#. ``llvm/*``
|
||||
#. ``llvm/Analysis/*``
|
||||
#. ``llvm/Assembly/*``
|
||||
#. ``llvm/Bitcode/*``
|
||||
#. ``llvm/CodeGen/*``
|
||||
#. ...
|
||||
#. ``llvm/Support/*``
|
||||
#. ``llvm/Config/*``
|
||||
#. ``llvm/...``
|
||||
#. System ``#include``\s
|
||||
|
||||
and each category should be sorted by name.
|
||||
and each category should be sorted lexicographically by the full path.
|
||||
|
||||
The `Main Module Header`_ file applies to ``.cpp`` files which implement an
|
||||
interface defined by a ``.h`` file. This ``#include`` should always be included
|
||||
|
Loading…
x
Reference in New Issue
Block a user