From c3608fdf87b34eff33270bf91db3ec35d696f6a2 Mon Sep 17 00:00:00 2001 From: Kane York Date: Fri, 24 Jul 2020 20:39:28 -0700 Subject: [PATCH] fix(3p/nix): fix broken clang-tidy config LineFilter doesn't actually exist in this version of clang-tidy. It was only working because the config was ignored. Change-Id: Ice5ddb5d1031dfc2cc4fee24674464f965323d8b Reviewed-on: https://cl.tvl.fyi/c/depot/+/1431 Reviewed-by: glittershark Tested-by: BuildkiteCI --- third_party/nix/.clang-tidy | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/third_party/nix/.clang-tidy b/third_party/nix/.clang-tidy index 16802282e..ca2de1083 100644 --- a/third_party/nix/.clang-tidy +++ b/third_party/nix/.clang-tidy @@ -1,8 +1,4 @@ --- Checks: 'abseil-c*,clang-analyzer-security-*,bugprone-*,google-*,modernize-*,cppcoreguidelines-*,misc-*' -WarningsAsErrors: 'abseil-*,clang-analyzer-security.insecureAPI.strcpy' -LineFilter: - - {name: "src/cpptoml/cpptoml.h"} - - {name: "include/google/protobuf/metadata_lite.h"} - - {name: "generated/lexer-tab.cc"} +WarningsAsErrors: 'abseil-*,clang-analyzer-security*' ...