clang 22.0.0git
|
Represents the parsed form of a module map file. More...
#include "clang/Lex/ModuleMapFile.h"
Public Member Functions | |
void | dump (llvm::raw_ostream &out) const |
Public Attributes | |
FileID | ID |
The FileID used to parse this module map. This is always a local ID. | |
OptionalDirectoryEntryRef | Dir |
The directory in which the module map was discovered. | |
SourceLocation | Start |
Beginning of the file, used for moduleMapFileRead callback. | |
bool | IsSystem |
std::vector< TopLevelDecl > | Decls |
Represents the parsed form of a module map file.
This holds many reference types (StringRef, SourceLocation, etc.) whose lifetimes are bound by the SourceManager and FileManager used.
Definition at line 135 of file ModuleMapFile.h.
void ModuleMapFile::dump | ( | llvm::raw_ostream & | out | ) | const |
Definition at line 1258 of file ModuleMapFile.cpp.
References Decls, dumpExternModule(), dumpModule(), and clang::out.
std::vector<TopLevelDecl> clang::modulemap::ModuleMapFile::Decls |
Definition at line 147 of file ModuleMapFile.h.
Referenced by dump(), clang::ModuleMapLoader::parseAndLoadModuleMapFile(), and clang::ModuleMap::parseModuleMapFile().
OptionalDirectoryEntryRef clang::modulemap::ModuleMapFile::Dir |
The directory in which the module map was discovered.
Declarations in the module map are relative to this directory.
Definition at line 141 of file ModuleMapFile.h.
Referenced by clang::ModuleMap::findOrLoadModule().
FileID clang::modulemap::ModuleMapFile::ID |
The FileID used to parse this module map. This is always a local ID.
Definition at line 137 of file ModuleMapFile.h.
Referenced by clang::ModuleMap::findOrLoadModule().
bool clang::modulemap::ModuleMapFile::IsSystem |
Definition at line 146 of file ModuleMapFile.h.
Referenced by clang::ModuleMap::findOrLoadModule().
SourceLocation clang::modulemap::ModuleMapFile::Start |
Beginning of the file, used for moduleMapFileRead callback.
Definition at line 144 of file ModuleMapFile.h.