Skip to content

Commit a2dbf34

Browse files
committed
[clangd] Fix -check mode doesn't respect any tidy configs.
Differential Revision: https://reviews.llvm.org/D94411
1 parent dbd5fa1 commit a2dbf34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang-tools-extra/clangd/tool/Check.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ class Checker {
123123
std::vector<std::string> CC1Args;
124124
Inputs.CompileCommand = Cmd;
125125
Inputs.TFS = &TFS;
126+
Inputs.ClangTidyProvider = Opts.ClangTidyProvider;
126127
if (Contents.hasValue()) {
127128
Inputs.Contents = *Contents;
128129
log("Imaginary source file contents:\n{0}", Inputs.Contents);

0 commit comments

Comments
 (0)