clang API Documentation

Public Member Functions | Static Public Member Functions
clang::DependencyFileGenerator Class Reference

#include <Utils.h>

List of all members.

Public Member Functions

void AttachToASTReader (ASTReader &R)

Static Public Member Functions

static DependencyFileGeneratorCreateAndAttachToPreprocessor (Preprocessor &PP, const DependencyOutputOptions &Opts)

Detailed Description

Builds a depdenency file when attached to a Preprocessor (for includes) and ASTReader (for module imports), and writes it out at the end of processing a source file. Users should attach to the ast reader whenever a module is loaded.

Definition at line 109 of file Utils.h.


Member Function Documentation

Definition at line 220 of file DependencyFile.cpp.

References clang::ASTReader::addListener().


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