commit | 0d9868c9af39f1b16da7f5d452cacfa9b052ad8b | [log] [tgz] |
---|---|---|
author | Chih-hung Hsieh <chh@google.com> | Thu Jan 04 19:05:16 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jan 04 19:05:16 2018 +0000 |
tree | 376d1f823097088e4a1b8042dc5aceb04f003729 | |
parent | 04ddd45f4a0372b6df795c04fbb430873c4952c0 [diff] | |
parent | 669cb9150eb47963518e74dfe048578cfa7624c8 [diff] |
Merge "Call clang-tidy with -fno-caret-diagnostics by default."
diff --git a/cc/tidy.go b/cc/tidy.go index 67fd3db..8ca94ef 100644 --- a/cc/tidy.go +++ b/cc/tidy.go
@@ -80,6 +80,7 @@ // If clang-tidy is not enabled globally, add the -quiet flag. if !ctx.Config().ClangTidy() { flags.TidyFlags = append(flags.TidyFlags, "-quiet") + flags.TidyFlags = append(flags.TidyFlags, "-extra-arg-before=-fno-caret-diagnostics") } // We might be using the static analyzer through clang tidy.