@@ -134,16 +134,17 @@ Available style options are described in :doc:`ClangFormatStyleOptions`.
134
134
You can create ``.clang-format-ignore `` files to make ``clang-format `` ignore
135
135
certain files. A ``.clang-format-ignore `` file consists of patterns of file path
136
136
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 (``! ``).
147
148
148
149
To match all files in a directory, use e.g. ``foo/bar/* ``. To match all files in
149
150
the directory of the ``.clang-format-ignore `` file, use ``* ``.
0 commit comments