clang API Documentation

Public Member Functions | Public Attributes
clang::DependencyOutputOptions Class Reference

#include <DependencyOutputOptions.h>

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

List of all members.

Public Member Functions

 DependencyOutputOptions ()

Public Attributes

unsigned IncludeSystemHeaders: 1
 Include system header dependencies.
unsigned ShowHeaderIncludes: 1
 Show header inclusions (-H).
unsigned UsePhonyTargets: 1
unsigned AddMissingHeaderDeps: 1
 Add missing headers to dependency list.
std::string OutputFile
 The file to write dependency output to.
std::string HeaderIncludeOutputFile
std::vector< std::string > Targets
std::string DOTOutputFile
 The file to write GraphViz-formatted header dependencies to.

Detailed Description

DependencyOutputOptions - Options for controlling the compiler dependency file generation.

Definition at line 20 of file DependencyOutputOptions.h.


Constructor & Destructor Documentation

clang::DependencyOutputOptions::DependencyOutputOptions ( ) [inline]

Member Data Documentation

Add missing headers to dependency list.

Definition at line 27 of file DependencyOutputOptions.h.

Referenced by clang::AttachDependencyFileGen(), DependencyOutputOptions(), and ParseDependencyOutputArgs().

The file to write GraphViz-formatted header dependencies to.

Definition at line 43 of file DependencyOutputOptions.h.

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

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 36 of file DependencyOutputOptions.h.

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

Include system header dependencies.

Definition at line 22 of file DependencyOutputOptions.h.

Referenced by DependencyOutputOptions(), DependencyOutputOptsToArgs(), and ParseDependencyOutputArgs().

The file to write dependency output to.

Definition at line 30 of file DependencyOutputOptions.h.

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

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 40 of file DependencyOutputOptions.h.

Referenced by clang::AttachDependencyFileGen(), DependencyOutputOptsToArgs(), and ParseDependencyOutputArgs().

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

Definition at line 24 of file DependencyOutputOptions.h.

Referenced by DependencyOutputOptions(), DependencyOutputOptsToArgs(), and ParseDependencyOutputArgs().


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