|
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 33 of file DependencyScannerImpl.h.
|
inline |
Definition at line 35 of file DependencyScannerImpl.h.
|
inline |
Definition at line 49 of file DependencyScannerImpl.h.
|
inline |
Definition at line 48 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 640 of file DependencyScannerImpl.cpp.
References any(), clang::dependencies::computePrebuiltModulesASTMap(), createDependencyOutputOptions(), createScanCompilerInvocation(), clang::CompilerInstance::ExecuteAction(), clang::CompilerInstance::getDiagnostics(), clang::dependencies::getInitialStableDirs(), clang::DiagnosticsEngine::hasErrorOccurred(), clang::dependencies::initializeScanCompilerInstance(), clang::dependencies::initializeScanInstanceDependencyCollector(), clang::dependencies::Macros, clang::dependencies::makeInProcessModuleCache(), clang::dependencies::P1689, and clang::Result.
Referenced by createAndRunToolInvocation().