clang API Documentation

Public Member Functions
clang::ModuleDependencyCollector Class Reference

#include <Utils.h>

List of all members.

Public Member Functions

StringRef getDest ()
bool insertSeen (StringRef Filename)
void setHasErrors ()
void addFileMapping (StringRef VPath, StringRef RPath)
void attachToASTReader (ASTReader &R)
void writeFileMap ()
bool hasErrors ()
 ModuleDependencyCollector (std::string DestDir)
 ~ModuleDependencyCollector ()

Detailed Description

Collects the dependencies for imported modules into a directory. Users should attach to the AST reader whenever a module is loaded.

Definition at line 120 of file Utils.h.


Constructor & Destructor Documentation

Definition at line 137 of file Utils.h.

Definition at line 139 of file Utils.h.

References writeFileMap().


Member Function Documentation

void clang::ModuleDependencyCollector::addFileMapping ( StringRef  VPath,
StringRef  RPath 
) [inline]

Definition at line 130 of file Utils.h.

References clang::vfs::YAMLVFSWriter::addFileMapping().

Definition at line 40 of file ModuleDependencyCollector.cpp.

References clang::ASTReader::addListener().

Definition at line 127 of file Utils.h.

Referenced by writeFileMap().

Definition at line 136 of file Utils.h.

bool clang::ModuleDependencyCollector::insertSeen ( StringRef  Filename) [inline]

Definition at line 128 of file Utils.h.

Definition at line 129 of file Utils.h.

Referenced by writeFileMap().


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