clang API Documentation

Classes | Namespaces | Functions
ModuleManager.cpp File Reference
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/ModuleMap.h"
#include "clang/Serialization/GlobalModuleIndex.h"
#include "clang/Serialization/ModuleManager.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <system_error>
#include "llvm/Support/GraphWriter.h"
Include dependency graph for ModuleManager.cpp:

Go to the source code of this file.

Classes

struct  llvm::GraphTraits< ModuleManager >
struct  llvm::DOTGraphTraits< ModuleManager >

Namespaces

namespace  llvm

Functions

static bool visitDepthFirst (ModuleFile &M, bool(*Visitor)(ModuleFile &M, bool Preorder, void *UserData), void *UserData, SmallVectorImpl< bool > &Visited)
 Perform a depth-first visit of the current module.

Function Documentation

static bool visitDepthFirst ( ModuleFile M,
bool(*)(ModuleFile &M, bool Preorder, void *UserData)  Visitor,
void *  UserData,
SmallVectorImpl< bool > &  Visited 
) [static]

Perform a depth-first visit of the current module.

Definition at line 385 of file ModuleManager.cpp.

References clang::serialization::ModuleFile::Imports.