clang: clang::HeaderMap Class Reference (original) (raw)
This class represents an Apple concept known as a 'header map'. More...
#include "[clang/Lex/HeaderMap.h](HeaderMap%5F8h%5Fsource.html)"
Public Member Functions | |
---|---|
void | dump () const |
Print the contents of this headermap to stderr. | |
template<typename Func > | |
void | forEachKey (Func Callback) const |
StringRef | getFileName () const |
Return the filename of the headermap. | |
StringRef | lookupFilename (StringRef Filename, SmallVectorImpl< char > &DestPath) const |
If the specified relative filename is located in this HeaderMap return the filename it is mapped to, otherwise return an empty StringRef. | |
StringRef | reverseLookupFilename (StringRef DestPath) const |
Return key for specifed path. | |
This class represents an Apple concept known as a 'header map'.
To the #include file resolution process, it basically acts like a directory of symlinks to files. Its advantages are that it is dense and more efficient to create and process than a directory of symlinks.
Definition at line 84 of file HeaderMap.h.
◆ Create()
◆ dump()
LLVM_DUMP_METHOD void HeaderMapImpl::dump | ( | ) | const |
---|
Print the contents of this headermap to stderr.
dump - Print the contents of this headermap to stderr.
Definition at line 65 of file HeaderMap.cpp.
◆ forEachKey()
template<typename Func >
void clang::HeaderMapImpl::forEachKey ( Func Callback) const | inline |
---|
◆ getFileName()
StringRef HeaderMapImpl::getFileName | ( | ) | const |
---|
◆ lookupFilename()
StringRef HeaderMapImpl::lookupFilename | ( | StringRef | Filename, |
---|---|---|---|
SmallVectorImpl< char > & | DestPath | ||
) | const |
◆ reverseLookupFilename()
StringRef HeaderMapImpl::reverseLookupFilename | ( | StringRef | DestPath | ) | const |
---|
The documentation for this class was generated from the following files:
- include/clang/Lex/HeaderMap.h
- lib/Lex/HeaderMap.cpp