Do not enable all clang-analyzer-* checks,

* clang-analyzer is slow and enables clang-diagnostic-padded,
  which cannot be suppressed yet.

Test: make with WITH_TIDY=1 for crosshatch-userdebug
Change-Id: I20193f0db3154b037d58c5ca012a9e753b176722
This commit is contained in:
Chih-Hung Hsieh
2021-01-15 21:08:33 -08:00
parent 9235fea8c3
commit 4d31a041c7

View File

@@ -35,7 +35,9 @@ func init() {
"android-*",
"bugprone-*",
"cert-*",
"clang-analyzer-*",
// clang-analyzer-* check is slow and enables clang-diagnostic-padded,
// which cannot be suppressed yet.
// "clang-analyzer-*",
"clang-diagnostic-unused-command-line-argument",
"google-*",
"misc-*",