clang 23.0.0git
DependencyScannerImpl.h File Reference

Go to the source code of this file.

Classes

class  clang::dependencies::DependencyScanningAction
struct  clang::dependencies::DiagnosticsEngineWithDiagOpts
struct  clang::dependencies::TextDiagnosticsPrinterWithOutput

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::dependencies

Functions

std::unique_ptr< DiagnosticOptionsclang::dependencies::createDiagOptions (ArrayRef< std::string > CommandLine)
std::unique_ptr< CompilerInvocationclang::dependencies::createCompilerInvocation (ArrayRef< std::string > CommandLine, DiagnosticsEngine &Diags)
void clang::dependencies::canonicalizeDefines (PreprocessorOptions &PPOpts)
 Canonicalizes command-line macro defines (e.g. removing "-DX -UX").
std::shared_ptr< CompilerInvocationclang::dependencies::createScanCompilerInvocation (const CompilerInvocation &Invocation, const DependencyScanningService &Service, DependencyActionController &Controller)
 Creates a CompilerInvocation suitable for the dependency scanner.
std::unique_ptr< DependencyOutputOptionsclang::dependencies::createDependencyOutputOptions (const CompilerInvocation &Invocation)
 Creates dependency output options to be reported to the dependency consumer, deducing missing information if necessary.
void clang::dependencies::initializeScanCompilerInstance (CompilerInstance &ScanInstance, IntrusiveRefCntPtr< llvm::vfs::FileSystem > FS, DiagnosticConsumer *DiagConsumer, DependencyScanningService &Service, IntrusiveRefCntPtr< DependencyScanningWorkerFilesystem > DepFS)
SmallVector< StringRef > clang::dependencies::getInitialStableDirs (const CompilerInstance &ScanInstance)
std::optional< PrebuiltModulesAttrsMapclang::dependencies::computePrebuiltModulesASTMap (CompilerInstance &ScanInstance, SmallVector< StringRef > &StableDirs)
std::shared_ptr< ModuleDepCollectorclang::dependencies::initializeScanInstanceDependencyCollector (CompilerInstance &ScanInstance, std::unique_ptr< DependencyOutputOptions > DepOutputOpts, StringRef WorkingDirectory, DependencyConsumer &Consumer, DependencyScanningService &Service, CompilerInvocation &Inv, DependencyActionController &Controller, PrebuiltModulesAttrsMap PrebuiltModulesASTMap, llvm::SmallVector< StringRef > &StableDirs)
 Create the dependency collector that will collect the produced dependencies.