From aff09545779a5346984e3c0d4f0d887185cb662d Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 14 Jul 2021 06:43:23 -0400 Subject: [PATCH] [gn build] (manually) merge 462d4de35b0c --- llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn | 1 + llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn | 1 + 2 files changed, 2 insertions(+) diff --git a/llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn index bf6c59417907..44a3e5ca1f48 100644 --- a/llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn +++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn @@ -14,6 +14,7 @@ write_cmake_config("features") { values = [ "CLANGD_ENABLE_REMOTE=0", "CLANGD_MALLOC_TRIM=1", + "CLANGD_TIDY_CHECKS=1", "ENABLE_GRPC_REFLECTION=0", ] if (clangd_build_xpc) { diff --git a/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn index e6ea3b5c56c6..02ccf1de13f5 100644 --- a/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn +++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn @@ -31,6 +31,7 @@ write_lit_config("lit_site_cfg") { "CLANG_LIBS_DIR=", # needed only for shared builds "CLANG_TOOLS_DIR=", "CLANGD_ENABLE_REMOTE=0", + "CLANGD_TIDY_CHECKS=1", "LLVM_HOST_TRIPLE=$llvm_current_triple", "LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build. "LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),