[llvm-commits] [llvm] r169107 - /llvm/trunk/docs/CodingStandards.rst

Chandler Carruth chandlerc at gmail.com
Sun Dec 2 03:53:28 PST 2012


Author: chandlerc
Date: Sun Dec  2 05:53:27 2012
New Revision: 169107

URL: http://llvm.org/viewvc/llvm-project?rev=169107&view=rev
Log:
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.

Modified:
    llvm/trunk/docs/CodingStandards.rst

Modified: llvm/trunk/docs/CodingStandards.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodingStandards.rst?rev=169107&r1=169106&r2=169107&view=diff
==============================================================================
--- llvm/trunk/docs/CodingStandards.rst (original)
+++ llvm/trunk/docs/CodingStandards.rst Sun Dec  2 05:53:27 2012
@@ -284,17 +284,10 @@
 
 #. 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





More information about the llvm-commits mailing list