Merge "Do not pass -flto and -fsanitize flags to clang-tidy."
diff --git a/cc/config/tidy.go b/cc/config/tidy.go
index 5d53a8c..079cf25 100644
--- a/cc/config/tidy.go
+++ b/cc/config/tidy.go
@@ -22,8 +22,11 @@
 // 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() {