Skip to content

Commit 3507959

Browse files
committed
[clang-format][doc] Fix format errors.
1 parent 925ff9e commit 3507959

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

clang/docs/ClangFormat.rst

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,17 @@ Available style options are described in :doc:`ClangFormatStyleOptions`.
134134
You can create ``.clang-format-ignore`` files to make ``clang-format`` ignore
135135
certain files. A ``.clang-format-ignore`` file consists of patterns of file path
136136
names. It has the following format:
137-
- A blank line is skipped.
138-
- Leading and trailing spaces of a line are trimmed.
139-
- A line starting with a hash (``#``) is a comment.
140-
- A non-comment line is a single pattern.
141-
- The slash (``/``) is used as the directory separator.
142-
- A pattern is relative to the directory of the ``.clang-format-ignore`` file
143-
(or the root directory if the pattern starts with a slash).
144-
- Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of
145-
2.13.3.
146-
- A pattern is negated if it starts with a bang (``!``).
137+
138+
* A blank line is skipped.
139+
* Leading and trailing spaces of a line are trimmed.
140+
* A line starting with a hash (``#``) is a comment.
141+
* A non-comment line is a single pattern.
142+
* The slash (``/``) is used as the directory separator.
143+
* A pattern is relative to the directory of the ``.clang-format-ignore`` file
144+
(or the root directory if the pattern starts with a slash).
145+
* Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of
146+
2.13.3.
147+
* A pattern is negated if it starts with a bang (``!``).
147148

148149
To match all files in a directory, use e.g. ``foo/bar/*``. To match all files in
149150
the directory of the ``.clang-format-ignore`` file, use ``*``.

0 commit comments

Comments
 (0)