Lines Matching refs:CTContext
293 llvm::Optional<tidy::ClangTidyContext> CTContext; in build() local
303 CTContext.emplace(std::make_unique<tidy::DefaultOptionsProvider>( in build()
305 CTContext->setDiagnosticsEngine(&Clang->getDiagnostics()); in build()
306 CTContext->setASTContext(&Clang->getASTContext()); in build()
307 CTContext->setCurrentFile(Filename); in build()
308 CTChecks = CTFactories.createChecks(CTContext.getPointer()); in build()
310 return !Check->isLanguageVersionSupported(CTContext->getLangOpts()); in build()
319 ASTDiags.setLevelAdjuster([&CTContext](DiagnosticsEngine::Level DiagLevel, in build()
321 std::string CheckName = CTContext->getCheckName(Info.getID()); in build()
334 tidy::shouldSuppressDiagnostic(DiagLevel, Info, *CTContext, in build()
341 CTContext->treatAsError(CheckName)) { in build()
444 std::vector<Diag> D = ASTDiags.take(CTContext.getPointer()); in build()