[PATCH] D43731: Fix documentation for SpaceAfterCStyleCast option
Eric Marti via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 24 04:06:19 PST 2018
EricMarti created this revision.
EricMarti added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
I noticed that the example for SpaceAfterCStyleCast does not match its description. I fixed the example after testing it out.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D43731
Files:
docs/ClangFormatStyleOptions.rst
Index: docs/ClangFormatStyleOptions.rst
===================================================================
--- docs/ClangFormatStyleOptions.rst
+++ docs/ClangFormatStyleOptions.rst
@@ -1662,7 +1662,7 @@
.. code-block:: c++
true: false:
- (int)i; vs. (int) i;
+ (int) i; vs. (int)i;
**SpaceAfterTemplateKeyword** (``bool``)
If ``true``, a space will be inserted after the 'template' keyword.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43731.135791.patch
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180224/2564d846/attachment.bin>
More information about the cfe-commits
mailing list