aboutsummaryrefslogtreecommitdiff
path: root/clang/docs
diff options
context:
space:
mode:
authorOwen Pan <owenpiano@gmail.com>2024-06-03 00:58:53 -0700
committerOwen Pan <owenpiano@gmail.com>2024-06-03 01:04:05 -0700
commitf4a7f81a914ca8aceddd9b7a71e36bb0828ae052 (patch)
tree9427e713e0bf5ef5762842c6f2930784c7f25a84 /clang/docs
parent5b4445e5e5d09b4bdf0e3c1fab52719bfb3f75e2 (diff)
downloadllvm-f4a7f81a914ca8aceddd9b7a71e36bb0828ae052.zip
llvm-f4a7f81a914ca8aceddd9b7a71e36bb0828ae052.tar.gz
llvm-f4a7f81a914ca8aceddd9b7a71e36bb0828ae052.tar.bz2
[clang-format][doc] Minor cleanup
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/ClangFormatStyleOptions.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index 677dac2..bb00c209 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -5117,7 +5117,7 @@ the configuration (without a prefix: ``Auto``).
.. note::
- It must contain ``type``.
+ It **must** contain ``type``.
Items to the left of ``type`` will be placed to the left of the type and
aligned in the order supplied. Items to the right of ``type`` will be
@@ -6410,6 +6410,7 @@ the configuration (without a prefix: ``Auto``).
TableGenBreakInsideDAGArg: BreakAll
TableGenBreakingDAGArgOperators: [ins, outs]
+
makes the line break only occurs inside DAGArgs beginning with the
specified identifiers ``ins`` and ``outs``.
@@ -6537,7 +6538,7 @@ The goal of the clang-format project is more on the side of supporting a
limited set of styles really well as opposed to supporting every single style
used by a codebase somewhere in the wild. Of course, we do want to support all
major projects and thus have established the following bar for adding style
-options. Each new style option must ..
+options. Each new style option must:
* be used in a project of significant size (have dozens of contributors)
* have a publicly accessible style guide