diff options
Diffstat (limited to 'clang-tools-extra/clangd/ParsedAST.cpp')
-rw-r--r-- | clang-tools-extra/clangd/ParsedAST.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clangd/ParsedAST.cpp b/clang-tools-extra/clangd/ParsedAST.cpp index 7c397504a00..4236a972b39 100644 --- a/clang-tools-extra/clangd/ParsedAST.cpp +++ b/clang-tools-extra/clangd/ParsedAST.cpp @@ -284,12 +284,12 @@ ParsedAST::build(std::unique_ptr<clang::CompilerInvocation> CI, // Check for suppression comment. Skip the check for diagnostics not // in the main file, because we don't want that function to query the // source buffer for preamble files. For the same reason, we ask - // ShouldSuppressDiagnostic not to follow macro expansions, since + // shouldSuppressDiagnostic not to follow macro expansions, since // those might take us into a preamble file as well. bool IsInsideMainFile = Info.hasSourceManager() && isInsideMainFile(Info.getLocation(), Info.getSourceManager()); - if (IsInsideMainFile && tidy::ShouldSuppressDiagnostic( + if (IsInsideMainFile && tidy::shouldSuppressDiagnostic( DiagLevel, Info, *CTContext, /* CheckMacroExpansion = */ false)) { return DiagnosticsEngine::Ignored; |