From 2c336fe5b545da76b681e920a866bb50d69f1dd6 Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Wed, 31 May 2023 19:25:49 +0000 Subject: [PATCH] Suppress performance-avold-endl clang-tidy warning This is a new warning introduced in clang-r498229. Bug: 285005947 Test: build Change-Id: Ia66c1f2555e2654614137e950832070e4e8dd54f --- cc/config/tidy.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cc/config/tidy.go b/cc/config/tidy.go index d55a13dcf..2e7832e19 100644 --- a/cc/config/tidy.go +++ b/cc/config/tidy.go @@ -42,6 +42,8 @@ var ( "-bugprone-unchecked-optional-access", // http://b/265438407 "-misc-use-anonymous-namespace", + // http://b/285005947 + "-performance-avoid-endl", } // Some clang-tidy checks are included in some tidy_checks_as_errors lists,