diff --git a/clang-tools-extra/clangd/tool/Check.cpp b/clang-tools-extra/clangd/tool/Check.cpp --- a/clang-tools-extra/clangd/tool/Check.cpp +++ b/clang-tools-extra/clangd/tool/Check.cpp @@ -123,6 +123,7 @@ std::vector CC1Args; Inputs.CompileCommand = Cmd; Inputs.TFS = &TFS; + Inputs.ClangTidyProvider = Opts.ClangTidyProvider; if (Contents.hasValue()) { Inputs.Contents = *Contents; log("Imaginary source file contents:\n{0}", Inputs.Contents);