From 70b9316309e6ea6f8aa60005022096e5d25d4d5e Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 3 Mar 2020 12:05:22 -0800 Subject: [PATCH] Add bugprone to global clang-tidy default checks Test: WITH_TIDY=1 make Change-Id: I1533c30035296fb1eaa7e2ff42360c5ff60a1d07 --- cc/config/tidy.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cc/config/tidy.go b/cc/config/tidy.go index dd52a0ec5..4ac9e5863 100644 --- a/cc/config/tidy.go +++ b/cc/config/tidy.go @@ -30,10 +30,12 @@ func init() { } return strings.Join([]string{ "-*", + "bugprone*", "clang-diagnostic-unused-command-line-argument", "google*", "misc-macro-parentheses", "performance*", + "-bugprone-narrowing-conversions", "-google-readability*", "-google-runtime-references", }, ",")