|
clang 22.0.0git
|
#include "clang/DependencyScanning/DependencyScannerImpl.h"#include "clang/Basic/DiagnosticFrontend.h"#include "clang/Basic/DiagnosticSerialization.h"#include "clang/DependencyScanning/DependencyScanningWorker.h"#include "clang/Driver/Driver.h"#include "clang/Frontend/FrontendActions.h"#include "llvm/ADT/ScopeExit.h"#include "llvm/TargetParser/Host.h"Go to the source code of this file.
Functions | |
| static std::shared_ptr< CompilerInvocation > | createScanCompilerInvocation (const CompilerInvocation &Invocation, const DependencyScanningService &Service) |
| Creates a CompilerInvocation suitable for the dependency scanner. | |
| static std::unique_ptr< DependencyOutputOptions > | createDependencyOutputOptions (const CompilerInvocation &Invocation) |
| Creates dependency output options to be reported to the dependency consumer, deducing missing information if necessary. | |
|
static |
Creates dependency output options to be reported to the dependency consumer, deducing missing information if necessary.
Definition at line 508 of file DependencyScannerImpl.cpp.
References clang::CompilerInvocation::getDependencyOutputOpts(), clang::CompilerInvocation::getFrontendOpts(), clang::FrontendOptions::Inputs, and clang::FrontendOptions::OutputFile.
Referenced by clang::dependencies::CompilerInstanceWithContext::initialize(), and clang::dependencies::DependencyScanningAction::runInvocation().
|
static |
Creates a CompilerInvocation suitable for the dependency scanner.
Definition at line 426 of file DependencyScannerImpl.cpp.
References any(), clang::dependencies::DependencyScanningService::getBuildSessionTimestamp(), clang::dependencies::DependencyScanningService::getOptimizeArgs(), and clang::dependencies::VFS.
Referenced by clang::dependencies::CompilerInstanceWithContext::initialize(), and clang::dependencies::DependencyScanningAction::runInvocation().