Skip to content
Snippets Groups Projects
Commit a994172f authored by Jonathan Roelofs's avatar Jonathan Roelofs
Browse files

Fix formatting of a few code blocks. NFC

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236964 91177308-0d34-0410-b5e6-96231b3b80d8
parent c8fc9555
No related branches found
No related tags found
No related merge requests found
......@@ -155,21 +155,23 @@ the configuration (without a prefix: ``Auto``).
This applies to round brackets (parentheses), angle brackets and square
brackets. This will result in formattings like
\code
.. code-block:: c++
someLongFunction(argument1,
argument2);
\endcode
**AlignConsecutiveAssignments** (``bool``)
If ``true``, aligns consecutive assignments.
This will align the assignment operators of consecutive lines. This
will result in formattings like
\code
.. code-block:: c++
int aaaa = 12;
int b = 23;
int ccc = 23;
\endcode
**AlignEscapedNewlinesLeft** (``bool``)
If ``true``, aligns escaped newlines as far left as possible.
......@@ -341,10 +343,11 @@ the configuration (without a prefix: ``Auto``).
instead of as function calls.
These are expected to be macros of the form:
\code
.. code-block:: c++
FOREACH(<variable-declaration>, ...)
<loop-body>
\endcode
For example: BOOST_FOREACH.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment