Merge "Call clang-tidy with -fno-caret-diagnostics by default."
am: 0d9868c9af
Change-Id: I76a6fa4cbe08c9a63a43a61d81d541eb5cde4665
This commit is contained in:
@@ -80,6 +80,7 @@ func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
|
|||||||
// If clang-tidy is not enabled globally, add the -quiet flag.
|
// If clang-tidy is not enabled globally, add the -quiet flag.
|
||||||
if !ctx.Config().ClangTidy() {
|
if !ctx.Config().ClangTidy() {
|
||||||
flags.TidyFlags = append(flags.TidyFlags, "-quiet")
|
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.
|
// We might be using the static analyzer through clang tidy.
|
||||||
|
Reference in New Issue
Block a user