|
clang 22.0.0git
|
#include "clang/DependencyScanning/DependencyScannerImpl.h"
Public Member Functions | |
| DependencyScanningAction (DependencyScanningService &Service, StringRef WorkingDirectory, DependencyConsumer &Consumer, DependencyActionController &Controller, IntrusiveRefCntPtr< DependencyScanningWorkerFilesystem > DepFS, std::optional< StringRef > ModuleName=std::nullopt) | |
| bool | runInvocation (std::string Executable, std::unique_ptr< CompilerInvocation > Invocation, IntrusiveRefCntPtr< llvm::vfs::FileSystem > FS, std::shared_ptr< PCHContainerOperations > PCHContainerOps, DiagnosticConsumer *DiagConsumer) |
| bool | hasScanned () const |
| bool | hasDiagConsumerFinished () const |
Definition at line 32 of file DependencyScannerImpl.h.
|
inline |
Definition at line 34 of file DependencyScannerImpl.h.
|
inline |
Definition at line 48 of file DependencyScannerImpl.h.
|
inline |
Definition at line 47 of file DependencyScannerImpl.h.
| bool DependencyScanningAction::runInvocation | ( | std::string | Executable, |
| std::unique_ptr< CompilerInvocation > | Invocation, | ||
| IntrusiveRefCntPtr< llvm::vfs::FileSystem > | FS, | ||
| std::shared_ptr< PCHContainerOperations > | PCHContainerOps, | ||
| DiagnosticConsumer * | DiagConsumer ) |
Definition at line 639 of file DependencyScannerImpl.cpp.
References any(), clang::dependencies::computePrebuiltModulesASTMap(), clang::CompilerInstance::ExecuteAction(), clang::CompilerInvocationBase::getCC1CommandLine(), clang::CompilerInstance::getDiagnostics(), clang::dependencies::getInitialStableDirs(), clang::DiagnosticsEngine::hasErrorOccurred(), clang::dependencies::initializeScanCompilerInstance(), clang::dependencies::initializeScanInstanceDependencyCollector(), clang::dependencies::Macros, clang::dependencies::makeInProcessModuleCache(), clang::dependencies::P1689, clang::Result, and clang::dependencies::takeAndUpdateDependencyOutputOptionsFrom().
Referenced by createAndRunToolInvocation().