|
clang 22.0.0git
|
#include "clang/Tooling/DependencyScanningTool.h"#include "clang/Basic/DiagnosticFrontend.h"#include "clang/DependencyScanning/DependencyScannerImpl.h"#include "clang/Driver/Tool.h"#include "clang/Frontend/Utils.h"#include <optional>Go to the source code of this file.
Functions | |
| static std::vector< std::string > | buildCC1CommandLine (const driver::Command &Cmd) |
Constructs the full -cc1 command line, including executable, for the given driver Cmd. | |
| static std::optional< std::vector< std::string > > | getFirstCC1CommandLine (ArrayRef< std::string > CommandLine, DiagnosticsEngine &Diags, llvm::IntrusiveRefCntPtr< llvm::vfs::OverlayFileSystem > ScanFS) |
| static llvm::Error | makeErrorFromDiagnosticsOS (TextDiagnosticsPrinterWithOutput &DiagPrinterWithOS) |
|
static |
Constructs the full -cc1 command line, including executable, for the given driver Cmd.
Definition at line 183 of file DependencyScanningTool.cpp.
References clang::driver::Command::getArguments(), and clang::driver::Command::getExecutable().
Referenced by getFirstCC1CommandLine().
|
static |
Definition at line 192 of file DependencyScanningTool.cpp.
References buildCC1CommandLine(), and clang::dependencies::buildCompilation().
Referenced by clang::tooling::DependencyScanningTool::initializeCompilerInstanceWithContextOrError().
|
static |
Definition at line 214 of file DependencyScanningTool.cpp.
References clang::dependencies::TextDiagnosticsPrinterWithOutput::DiagnosticsOS.
Referenced by clang::tooling::DependencyScanningTool::computeDependenciesByNameWithContextOrError(), clang::tooling::DependencyScanningTool::finalizeCompilerInstanceWithContextOrError(), and clang::tooling::DependencyScanningTool::initializeCompilerInstanceWithContextOrError().