clang  10.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::DependencyOutputOptions Class Reference

DependencyOutputOptions - Options for controlling the compiler dependency file generation. More...

#include "clang/Frontend/DependencyOutputOptions.h"

Collaboration diagram for clang::DependencyOutputOptions:
Collaboration graph
[legend]

Public Member Functions

 DependencyOutputOptions ()
 

Public Attributes

unsigned IncludeSystemHeaders: 1
 Include system header dependencies. More...
 
unsigned ShowHeaderIncludes: 1
 Show header inclusions (-H). More...
 
unsigned UsePhonyTargets: 1
 Include phony targets for each dependency, which can avoid some 'make' problems. More...
 
unsigned AddMissingHeaderDeps: 1
 Add missing headers to dependency list. More...
 
unsigned IncludeModuleFiles: 1
 Include module file dependencies. More...
 
ShowIncludesDestination ShowIncludesDest = ShowIncludesDestination::None
 Destination of cl.exe style /showIncludes info. More...
 
DependencyOutputFormat OutputFormat = DependencyOutputFormat::Make
 The format for the dependency file. More...
 
std::string OutputFile
 The file to write dependency output to. More...
 
std::string HeaderIncludeOutputFile
 The file to write header include output to. More...
 
std::vector< std::string > Targets
 A list of names to use as the targets in the dependency file; this list must contain at least one entry. More...
 
std::vector< std::string > ExtraDeps
 A list of filenames to be used as extra dependencies for every target. More...
 
std::string ShowIncludesPretendHeader
 In /showIncludes mode, pretend the main TU is a header with this name. More...
 
std::string DOTOutputFile
 The file to write GraphViz-formatted header dependencies to. More...
 
std::string ModuleDependencyOutputDir
 The directory to copy module dependencies to when collecting them. More...
 

Detailed Description

DependencyOutputOptions - Options for controlling the compiler dependency file generation.

Definition at line 25 of file DependencyOutputOptions.h.

Constructor & Destructor Documentation

◆ DependencyOutputOptions()

clang::DependencyOutputOptions::DependencyOutputOptions ( )
inline

Definition at line 67 of file DependencyOutputOptions.h.

Member Data Documentation

◆ AddMissingHeaderDeps

unsigned clang::DependencyOutputOptions::AddMissingHeaderDeps

Add missing headers to dependency list.

Definition at line 32 of file DependencyOutputOptions.h.

Referenced by ParseDependencyOutputArgs().

◆ DOTOutputFile

std::string clang::DependencyOutputOptions::DOTOutputFile

The file to write GraphViz-formatted header dependencies to.

Definition at line 61 of file DependencyOutputOptions.h.

Referenced by clang::CompilerInstance::createPreprocessor(), and ParseDependencyOutputArgs().

◆ ExtraDeps

std::vector<std::string> clang::DependencyOutputOptions::ExtraDeps

A list of filenames to be used as extra dependencies for every target.

Definition at line 55 of file DependencyOutputOptions.h.

Referenced by clang::AttachHeaderIncludeGen(), clang::DependencyFileGenerator::DependencyFileGenerator(), and ParseDependencyOutputArgs().

◆ HeaderIncludeOutputFile

std::string clang::DependencyOutputOptions::HeaderIncludeOutputFile

The file to write header include output to.

This is orthogonal to ShowHeaderIncludes (-H) and will include headers mentioned in the predefines buffer. If the output file is "-", output will be sent to stderr.

Definition at line 48 of file DependencyOutputOptions.h.

Referenced by clang::CompilerInstance::createPreprocessor(), and ParseDependencyOutputArgs().

◆ IncludeModuleFiles

unsigned clang::DependencyOutputOptions::IncludeModuleFiles

Include module file dependencies.

Definition at line 33 of file DependencyOutputOptions.h.

Referenced by ParseDependencyOutputArgs().

◆ IncludeSystemHeaders

unsigned clang::DependencyOutputOptions::IncludeSystemHeaders

Include system header dependencies.

Definition at line 27 of file DependencyOutputOptions.h.

Referenced by ParseDependencyOutputArgs().

◆ ModuleDependencyOutputDir

std::string clang::DependencyOutputOptions::ModuleDependencyOutputDir

The directory to copy module dependencies to when collecting them.

Definition at line 64 of file DependencyOutputOptions.h.

Referenced by clang::CompilerInstance::createPreprocessor(), and ParseDependencyOutputArgs().

◆ OutputFile

std::string clang::DependencyOutputOptions::OutputFile

The file to write dependency output to.

Definition at line 42 of file DependencyOutputOptions.h.

Referenced by clang::CompilerInvocation::CreateFromArgs(), clang::CompilerInstance::createPreprocessor(), and ParseDependencyOutputArgs().

◆ OutputFormat

DependencyOutputFormat clang::DependencyOutputOptions::OutputFormat = DependencyOutputFormat::Make

The format for the dependency file.

Definition at line 39 of file DependencyOutputOptions.h.

Referenced by ParseDependencyOutputArgs().

◆ ShowHeaderIncludes

unsigned clang::DependencyOutputOptions::ShowHeaderIncludes

Show header inclusions (-H).

Definition at line 28 of file DependencyOutputOptions.h.

Referenced by clang::CompilerInstance::createPreprocessor(), and ParseDependencyOutputArgs().

◆ ShowIncludesDest

ShowIncludesDestination clang::DependencyOutputOptions::ShowIncludesDest = ShowIncludesDestination::None

Destination of cl.exe style /showIncludes info.

Definition at line 36 of file DependencyOutputOptions.h.

Referenced by clang::AttachHeaderIncludeGen(), clang::CompilerInstance::createPreprocessor(), and ParseDependencyOutputArgs().

◆ ShowIncludesPretendHeader

std::string clang::DependencyOutputOptions::ShowIncludesPretendHeader

In /showIncludes mode, pretend the main TU is a header with this name.

Definition at line 58 of file DependencyOutputOptions.h.

◆ Targets

std::vector<std::string> clang::DependencyOutputOptions::Targets

A list of names to use as the targets in the dependency file; this list must contain at least one entry.

Definition at line 52 of file DependencyOutputOptions.h.

Referenced by clang::CompilerInvocation::CreateFromArgs(), and ParseDependencyOutputArgs().

◆ UsePhonyTargets

unsigned clang::DependencyOutputOptions::UsePhonyTargets

Include phony targets for each dependency, which can avoid some 'make' problems.

Definition at line 29 of file DependencyOutputOptions.h.

Referenced by ParseDependencyOutputArgs().


The documentation for this class was generated from the following file: