Searched refs:CTContext (Results 1 – 1 of 1) sorted by relevance
293 llvm::Optional<tidy::ClangTidyContext> CTContext; in build() local303 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()[all …]