Merge "Switch to clang r428724 13.0.1."
This commit is contained in:
@@ -228,6 +228,8 @@ var (
|
|||||||
"-Wno-non-c-typedef-for-linkage", // http://b/161304145
|
"-Wno-non-c-typedef-for-linkage", // http://b/161304145
|
||||||
// New warnings to be fixed after clang-r407598
|
// New warnings to be fixed after clang-r407598
|
||||||
"-Wno-string-concatenation", // http://b/175068488
|
"-Wno-string-concatenation", // http://b/175068488
|
||||||
|
// New warnings to be fixed after clang-r428724
|
||||||
|
"-Wno-align-mismatch", // http://b/193679946
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extra cflags for external third-party projects to disable warnings that
|
// Extra cflags for external third-party projects to disable warnings that
|
||||||
@@ -266,8 +268,8 @@ var (
|
|||||||
|
|
||||||
// prebuilts/clang default settings.
|
// prebuilts/clang default settings.
|
||||||
ClangDefaultBase = "prebuilts/clang/host"
|
ClangDefaultBase = "prebuilts/clang/host"
|
||||||
ClangDefaultVersion = "clang-r416183b1"
|
ClangDefaultVersion = "clang-r428724"
|
||||||
ClangDefaultShortVersion = "12.0.7"
|
ClangDefaultShortVersion = "13.0.1"
|
||||||
|
|
||||||
// Directories with warnings from Android.bp files.
|
// Directories with warnings from Android.bp files.
|
||||||
WarningAllowedProjects = []string{
|
WarningAllowedProjects = []string{
|
||||||
|
@@ -146,6 +146,8 @@ func (tidy *tidyFeature) flags(ctx ModuleContext, flags Flags) Flags {
|
|||||||
tidyChecks = tidyChecks + ",-bugprone-signed-char-misuse"
|
tidyChecks = tidyChecks + ",-bugprone-signed-char-misuse"
|
||||||
// http://b/155034972
|
// http://b/155034972
|
||||||
tidyChecks = tidyChecks + ",-bugprone-branch-clone"
|
tidyChecks = tidyChecks + ",-bugprone-branch-clone"
|
||||||
|
// http://b/193716442
|
||||||
|
tidyChecks = tidyChecks + ",-bugprone-implicit-widening-of-multiplication-result"
|
||||||
flags.TidyFlags = append(flags.TidyFlags, tidyChecks)
|
flags.TidyFlags = append(flags.TidyFlags, tidyChecks)
|
||||||
|
|
||||||
if ctx.Config().IsEnvTrue("WITH_TIDY") {
|
if ctx.Config().IsEnvTrue("WITH_TIDY") {
|
||||||
|
Reference in New Issue
Block a user