Commit e5208c9
committed
Add global option to disable running clang-tidy on headers
* Commit f43f9d6 added support to run
clang-tidy on headers. After that commit, all headers will be checked
by clang-tidy.
* Commit f43f9d6 added a tag to make it
possible to not run clang-tidy on specific libraries.
* For projects that only want to run clang-tidy on source files, the
only way to disable running clang-tidy on headers is to add the above
mentioned tag to all libraries. For large projects this requires
changing all BUILD files. This commit adds a global option instead to
always disable running clang-tidy on headers.1 parent f23d924 commit e5208c9
3 files changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
1 | 9 | | |
2 | 10 | | |
3 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
| |||
229 | 236 | | |
230 | 237 | | |
231 | 238 | | |
| 239 | + | |
232 | 240 | | |
233 | 241 | | |
234 | 242 | | |
0 commit comments