|
clang 22.0.0git
|
Public Member Functions | |
| CompilerInstanceWithContext (DependencyScanningWorker &Worker, StringRef CWD, const std::vector< std::string > &CMD) | |
| bool | initialize (DiagnosticConsumer *DC) |
| bool | computeDependencies (StringRef ModuleName, DependencyConsumer &Consumer, DependencyActionController &Controller) |
| bool | finalize () |
| llvm::Error | handleReturnStatus (bool Success) |
Definition at line 155 of file DependencyScannerImpl.h.
|
inline |
Definition at line 193 of file DependencyScannerImpl.h.
| bool CompilerInstanceWithContext::computeDependencies | ( | StringRef | ModuleName, |
| DependencyConsumer & | Consumer, | ||
| DependencyActionController & | Controller ) |
Definition at line 781 of file DependencyScannerImpl.cpp.
References clang::CompilerInstance::clearDependencyCollectors(), clang::PPCallbacks::EndOfMainFile(), clang::PPCallbacks::EnterFile, clang::Preprocessor::EnterSourceFile(), clang::CompilerInvocationBase::getCC1CommandLine(), clang::CompilerInstance::getFrontendOpts(), clang::Preprocessor::getIdentifierInfo(), clang::SourceLocation::getLocWithOffset(), clang::CompilerInstance::getPreprocessor(), clang::Preprocessor::getSourceManager(), clang::tooling::dependencies::DependencyConsumer::handleBuildCommand(), clang::Module::Hidden, clang::tooling::dependencies::initializeScanInstanceDependencyCollector(), clang::FrontendOptions::Inputs, clang::PPCallbacks::LexedFileChanged(), clang::CompilerInstance::loadModule(), clang::PPCallbacks::moduleImport(), clang::Preprocessor::removePPCallbacks(), and SM.
| bool CompilerInstanceWithContext::finalize | ( | ) |
Definition at line 867 of file DependencyScannerImpl.cpp.
| llvm::Error CompilerInstanceWithContext::handleReturnStatus | ( | bool | Success | ) |
Definition at line 872 of file DependencyScannerImpl.cpp.
References clang::Success.
| bool CompilerInstanceWithContext::initialize | ( | DiagnosticConsumer * | DC | ) |
Definition at line 708 of file DependencyScannerImpl.cpp.
References any(), clang::tooling::dependencies::buildCompilation(), clang::tooling::dependencies::computePrebuiltModulesASTMap(), clang::CompilerInvocation::CreateFromArgs(), clang::CompilerInstance::createTarget(), clang::tooling::dependencies::getInitialStableDirs(), clang::tooling::dependencies::initializeScanCompilerInstance(), clang::tooling::dependencies::initVFSForByNameScanning(), clang::tooling::dependencies::Macros, clang::tooling::dependencies::makeInProcessModuleCache(), and clang::tooling::dependencies::takeAndUpdateDependencyOutputOptionsFrom().