Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d31b3f87 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge "Do not pass -flto and -fsanitize flags to clang-tidy." am: 9f65ef8c

am: 167d8c77

Change-Id: Ibe7416e9ae2b5b1f73dda5862a3c3eebda33bc60
parents 39929c79 167d8c77
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -22,8 +22,11 @@ import (
// clang-tidy doesn't recognize every flag that clang does. This is unlikely to
// be a complete list, but we can populate this with the ones we know to avoid
// issues with clang-diagnostic-unused-command-line-argument.
// b/111885396: -flto affected header include directory; -fsanitize needs -flto.
var ClangTidyUnknownCflags = sorted([]string{
	"-Wa,%",
	"-flto",
	"-fsanitize=%",
})

func init() {