Commit 31e5506
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 a01e5e2 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 a965fb4 commit 31e5506
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 | | |
| |||
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
226 | 233 | | |
227 | 234 | | |
228 | 235 | | |
| |||
255 | 262 | | |
256 | 263 | | |
257 | 264 | | |
| 265 | + | |
258 | 266 | | |
259 | 267 | | |
260 | 268 | | |
0 commit comments