Home
last modified time | relevance | path

Searched refs:CTContext (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DParsedAST.cpp467 llvm::Optional<tidy::ClangTidyContext> CTContext; in build() local
477 CTContext.emplace(std::make_unique<tidy::DefaultOptionsProvider>( in build()
479 CTContext->setDiagnosticsEngine(&Clang->getDiagnostics()); in build()
480 CTContext->setASTContext(&Clang->getASTContext()); in build()
481 CTContext->setCurrentFile(Filename); in build()
482 CTContext->setSelfContainedDiags(true); in build()
483 CTChecks = CTFactories.createChecksForLanguage(CTContext.getPointer()); in build()
517 std::string CheckName = CTContext->getCheckName(Info.getID()); in build()
532 if (IsInsideMainFile && CTContext->shouldSuppressDiagnostic( in build()
543 CTContext->treatAsError(CheckName)) { in build()
[all …]