diff options
| author | 2018-08-15 11:28:38 -0700 | |
|---|---|---|
| committer | 2018-08-22 09:21:45 -0700 | |
| commit | a7aa958e6e2df55af86c9ee7d1d570c2dcce6224 (patch) | |
| tree | afca202d317a501d4c7587b20dccf6da6e05c1da /java/java_test.go | |
| parent | 158f2d9eafeb8419430c9da5791b8fa57d226975 (diff) | |
Add clang-tidy.sh to filter out troublesome flags.
* Some flags are accepted by clang but not clang-tidy.
They could cause the diagnostic-unused-command-line-argument warning.
Flag -flto messed up the -I flags.
* Add clang-diagnostic-unused-command-line-argument to
default clang-tidy checks.
* Move CLANG_TIDY_UNKNOWN_CFLAGS to build/make/core/clang/tidy.mk.
Bug: 111850071
Bug: 111885396
Test: build with WITH_TIDY=1
Change-Id: Iabeeb27715acf83ef6aafe3e77206b9a01a0d889
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions