diff options
| author | Jonathan Roelofs <jonathan@codesourcery.com> | 2015-05-11 02:05:20 +0000 |
|---|---|---|
| committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2015-05-11 02:05:20 +0000 |
| commit | e868b624dae0cc21ab2dccad45fe8ef34ec8a773 (patch) | |
| tree | 8448cfdd740b8a674a5fc92e01df895cd77be0a9 /clang/docs/ClangFormatStyleOptions.rst | |
| parent | 6d3d0f11ea3dfd10a40e0bb1dcb2a940b0f06cd5 (diff) | |
| download | bcm5719-llvm-e868b624dae0cc21ab2dccad45fe8ef34ec8a773.tar.gz bcm5719-llvm-e868b624dae0cc21ab2dccad45fe8ef34ec8a773.zip | |
Fix formatting of a few code blocks. NFC
llvm-svn: 236964
Diffstat (limited to 'clang/docs/ClangFormatStyleOptions.rst')
| -rw-r--r-- | clang/docs/ClangFormatStyleOptions.rst | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst index c5ec13e5d83..33020d8f94d 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/docs/ClangFormatStyleOptions.rst @@ -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. |

