Skip to content

Commit d01a977

Browse files
committed
将.ignore_format.yml转为.clang-format-ignore
Signed-off-by: latercomer <[email protected]>
1 parent 0cf096e commit d01a977

File tree

150 files changed

+2180
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+2180
-44
lines changed

bsp/.clang-format

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# You can create .clang-format-ignore (https://clang.llvm.org/docs/ClangFormat.html#clang-format-ignore) files to make clang-format ignore certain files. A .clang-format-ignore file consists of patterns of file path names. It has the following format:
3+
# - A blank line is skipped.
4+
# - Leading and trailing spaces of a line are trimmed.
5+
# - A line starting with a hash (#) is a comment.
6+
# - A non-comment line is a single pattern.
7+
# - The slash (/) is used as the directory separator.
8+
# - A pattern is relative to the directory of the .clang-format-ignore file (or the root directory if the pattern starts with a slash). Patterns containing drive names (e.g. C:) are not supported.
9+
# - Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of 2.13.3.
10+
# - Bash globstar (**) is supported.
11+
# - A pattern is negated if it starts with a bang (!).
12+
# To match all files in a directory, use e.g. foo/bar/*. To match all files in the directory of the .clang-format-ignore file, use *. Multiple .clang-format-ignore files are supported similar to the .clang-format files, with a lower directory level file voiding the higher level ones.
13+
#
14+
TARGET_RTT-062S2/**
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# You can create .clang-format-ignore (https://clang.llvm.org/docs/ClangFormat.html#clang-format-ignore) files to make clang-format ignore certain files. A .clang-format-ignore file consists of patterns of file path names. It has the following format:
3+
# - A blank line is skipped.
4+
# - Leading and trailing spaces of a line are trimmed.
5+
# - A line starting with a hash (#) is a comment.
6+
# - A non-comment line is a single pattern.
7+
# - The slash (/) is used as the directory separator.
8+
# - A pattern is relative to the directory of the .clang-format-ignore file (or the root directory if the pattern starts with a slash). Patterns containing drive names (e.g. C:) are not supported.
9+
# - Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of 2.13.3.
10+
# - Bash globstar (**) is supported.
11+
# - A pattern is negated if it starts with a bang (!).
12+
# To match all files in a directory, use e.g. foo/bar/*. To match all files in the directory of the .clang-format-ignore file, use *. Multiple .clang-format-ignore files are supported similar to the .clang-format files, with a lower directory level file voiding the higher level ones.
13+
#
14+
CMSIS/**
15+
VangoV85xx_standard_peripheral/**
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# You can create .clang-format-ignore (https://clang.llvm.org/docs/ClangFormat.html#clang-format-ignore) files to make clang-format ignore certain files. A .clang-format-ignore file consists of patterns of file path names. It has the following format:
3+
# - A blank line is skipped.
4+
# - Leading and trailing spaces of a line are trimmed.
5+
# - A line starting with a hash (#) is a comment.
6+
# - A non-comment line is a single pattern.
7+
# - The slash (/) is used as the directory separator.
8+
# - A pattern is relative to the directory of the .clang-format-ignore file (or the root directory if the pattern starts with a slash). Patterns containing drive names (e.g. C:) are not supported.
9+
# - Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of 2.13.3.
10+
# - Bash globstar (**) is supported.
11+
# - A pattern is negated if it starts with a bang (!).
12+
# To match all files in a directory, use e.g. foo/bar/*. To match all files in the directory of the .clang-format-ignore file, use *. Multiple .clang-format-ignore files are supported similar to the .clang-format files, with a lower directory level file voiding the higher level ones.
13+
#
14+
CMSIS/**
15+
VangoV85xxP_standard_peripheral/**
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# You can create .clang-format-ignore (https://clang.llvm.org/docs/ClangFormat.html#clang-format-ignore) files to make clang-format ignore certain files. A .clang-format-ignore file consists of patterns of file path names. It has the following format:
3+
# - A blank line is skipped.
4+
# - Leading and trailing spaces of a line are trimmed.
5+
# - A line starting with a hash (#) is a comment.
6+
# - A non-comment line is a single pattern.
7+
# - The slash (/) is used as the directory separator.
8+
# - A pattern is relative to the directory of the .clang-format-ignore file (or the root directory if the pattern starts with a slash). Patterns containing drive names (e.g. C:) are not supported.
9+
# - Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of 2.13.3.
10+
# - Bash globstar (**) is supported.
11+
# - A pattern is negated if it starts with a bang (!).
12+
# To match all files in a directory, use e.g. foo/bar/*. To match all files in the directory of the .clang-format-ignore file, use *. Multiple .clang-format-ignore files are supported similar to the .clang-format files, with a lower directory level file voiding the higher level ones.
13+
#
14+
libraries/**
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# You can create .clang-format-ignore (https://clang.llvm.org/docs/ClangFormat.html#clang-format-ignore) files to make clang-format ignore certain files. A .clang-format-ignore file consists of patterns of file path names. It has the following format:
3+
# - A blank line is skipped.
4+
# - Leading and trailing spaces of a line are trimmed.
5+
# - A line starting with a hash (#) is a comment.
6+
# - A non-comment line is a single pattern.
7+
# - The slash (/) is used as the directory separator.
8+
# - A pattern is relative to the directory of the .clang-format-ignore file (or the root directory if the pattern starts with a slash). Patterns containing drive names (e.g. C:) are not supported.
9+
# - Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of 2.13.3.
10+
# - Bash globstar (**) is supported.
11+
# - A pattern is negated if it starts with a bang (!).
12+
# To match all files in a directory, use e.g. foo/bar/*. To match all files in the directory of the .clang-format-ignore file, use *. Multiple .clang-format-ignore files are supported similar to the .clang-format files, with a lower directory level file voiding the higher level ones.
13+
#
14+
libraries/**
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# You can create .clang-format-ignore (https://clang.llvm.org/docs/ClangFormat.html#clang-format-ignore) files to make clang-format ignore certain files. A .clang-format-ignore file consists of patterns of file path names. It has the following format:
3+
# - A blank line is skipped.
4+
# - Leading and trailing spaces of a line are trimmed.
5+
# - A line starting with a hash (#) is a comment.
6+
# - A non-comment line is a single pattern.
7+
# - The slash (/) is used as the directory separator.
8+
# - A pattern is relative to the directory of the .clang-format-ignore file (or the root directory if the pattern starts with a slash). Patterns containing drive names (e.g. C:) are not supported.
9+
# - Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of 2.13.3.
10+
# - Bash globstar (**) is supported.
11+
# - A pattern is negated if it starts with a bang (!).
12+
# To match all files in a directory, use e.g. foo/bar/*. To match all files in the directory of the .clang-format-ignore file, use *. Multiple .clang-format-ignore files are supported similar to the .clang-format files, with a lower directory level file voiding the higher level ones.
13+
#
14+
APM32F0xx_Library/**
15+
APM32F10x_Library/**
16+
APM32F4xx_Library/**
17+
APM32E10x_Library/**
18+
APM32S10x_Library/**
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# You can create .clang-format-ignore (https://clang.llvm.org/docs/ClangFormat.html#clang-format-ignore) files to make clang-format ignore certain files. A .clang-format-ignore file consists of patterns of file path names. It has the following format:
3+
# - A blank line is skipped.
4+
# - Leading and trailing spaces of a line are trimmed.
5+
# - A line starting with a hash (#) is a comment.
6+
# - A non-comment line is a single pattern.
7+
# - The slash (/) is used as the directory separator.
8+
# - A pattern is relative to the directory of the .clang-format-ignore file (or the root directory if the pattern starts with a slash). Patterns containing drive names (e.g. C:) are not supported.
9+
# - Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of 2.13.3.
10+
# - Bash globstar (**) is supported.
11+
# - A pattern is negated if it starts with a bang (!).
12+
# To match all files in a directory, use e.g. foo/bar/*. To match all files in the directory of the .clang-format-ignore file, use *. Multiple .clang-format-ignore files are supported similar to the .clang-format files, with a lower directory level file voiding the higher level ones.
13+
#
14+
CMSIS/**
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# You can create .clang-format-ignore (https://clang.llvm.org/docs/ClangFormat.html#clang-format-ignore) files to make clang-format ignore certain files. A .clang-format-ignore file consists of patterns of file path names. It has the following format:
3+
# - A blank line is skipped.
4+
# - Leading and trailing spaces of a line are trimmed.
5+
# - A line starting with a hash (#) is a comment.
6+
# - A non-comment line is a single pattern.
7+
# - The slash (/) is used as the directory separator.
8+
# - A pattern is relative to the directory of the .clang-format-ignore file (or the root directory if the pattern starts with a slash). Patterns containing drive names (e.g. C:) are not supported.
9+
# - Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of 2.13.3.
10+
# - Bash globstar (**) is supported.
11+
# - A pattern is negated if it starts with a bang (!).
12+
# To match all files in a directory, use e.g. foo/bar/*. To match all files in the directory of the .clang-format-ignore file, use *. Multiple .clang-format-ignore files are supported similar to the .clang-format files, with a lower directory level file voiding the higher level ones.
13+
#
14+
drivers/**
15+
tools/**
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
# You can create .clang-format-ignore (https://clang.llvm.org/docs/ClangFormat.html#clang-format-ignore) files to make clang-format ignore certain files. A .clang-format-ignore file consists of patterns of file path names. It has the following format:
3+
# - A blank line is skipped.
4+
# - Leading and trailing spaces of a line are trimmed.
5+
# - A line starting with a hash (#) is a comment.
6+
# - A non-comment line is a single pattern.
7+
# - The slash (/) is used as the directory separator.
8+
# - A pattern is relative to the directory of the .clang-format-ignore file (or the root directory if the pattern starts with a slash). Patterns containing drive names (e.g. C:) are not supported.
9+
# - Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of 2.13.3.
10+
# - Bash globstar (**) is supported.
11+
# - A pattern is negated if it starts with a bang (!).
12+
# To match all files in a directory, use e.g. foo/bar/*. To match all files in the directory of the .clang-format-ignore file, use *. Multiple .clang-format-ignore files are supported similar to the .clang-format files, with a lower directory level file voiding the higher level ones.
13+
#
14+
bmsis/**
15+
core_v_hal/**
16+
core_v_udma_driver/**

0 commit comments

Comments
 (0)