|
clang 22.0.0git
|
#include "clang/DependencyScanning/DependencyScannerImpl.h"
Public Member Functions | |
| CompilerInstanceWithContext (DependencyScanningWorker &Worker, StringRef CWD, const std::vector< std::string > &CMD) | |
| bool | initialize (std::unique_ptr< DiagnosticsEngineWithDiagOpts > DiagEngineWithDiagOpts, IntrusiveRefCntPtr< llvm::vfs::OverlayFileSystem > OverlayFS) |
| bool | computeDependencies (StringRef ModuleName, DependencyConsumer &Consumer, DependencyActionController &Controller) |
| bool | finalize () |
Definition at line 139 of file DependencyScannerImpl.h.
|
inline |
Definition at line 166 of file DependencyScannerImpl.h.
| bool CompilerInstanceWithContext::computeDependencies | ( | StringRef | ModuleName, |
| DependencyConsumer & | Consumer, | ||
| DependencyActionController & | Controller ) |
Definition at line 774 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::dependencies::DependencyConsumer::handleBuildCommand(), clang::Module::Hidden, clang::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 860 of file DependencyScannerImpl.cpp.
| bool CompilerInstanceWithContext::initialize | ( | std::unique_ptr< DiagnosticsEngineWithDiagOpts > | DiagEngineWithDiagOpts, |
| IntrusiveRefCntPtr< llvm::vfs::OverlayFileSystem > | OverlayFS ) |
Definition at line 715 of file DependencyScannerImpl.cpp.
References any(), clang::dependencies::computePrebuiltModulesASTMap(), clang::dependencies::createCompilerInvocation(), createDependencyOutputOptions(), createScanCompilerInvocation(), clang::CompilerInstance::createTarget(), clang::dependencies::getInitialStableDirs(), clang::dependencies::initializeScanCompilerInstance(), clang::dependencies::Macros, clang::dependencies::makeInProcessModuleCache(), and clang::dependencies::VFS.