clang API Documentation
#include <ASTUnit.h>
Public Member Functions | |
| PreambleData () | |
| void | assign (const FileEntry *F, const char *begin, const char *end) |
| void | clear () |
| size_t | size () const |
| bool | empty () const |
| const char * | getBufferStart () const |
| unsigned | getNumLines () const |
| SourceRange | getSourceRange (const SourceManager &SM) const |
| clang::ASTUnit::PreambleData::PreambleData | ( | ) | [inline] |
| void clang::ASTUnit::PreambleData::assign | ( | const FileEntry * | F, |
| const char * | begin, | ||
| const char * | end | ||
| ) | [inline] |
| void clang::ASTUnit::PreambleData::clear | ( | ) | [inline] |
| bool clang::ASTUnit::PreambleData::empty | ( | ) | const [inline] |
Definition at line 203 of file ASTUnit.h.
Referenced by clang::ASTUnit::mapLocationFromPreamble(), and clang::ASTUnit::mapLocationToPreamble().
| const char* clang::ASTUnit::PreambleData::getBufferStart | ( | ) | const [inline] |
| unsigned clang::ASTUnit::PreambleData::getNumLines | ( | ) | const [inline] |
| SourceRange clang::ASTUnit::PreambleData::getSourceRange | ( | const SourceManager & | SM | ) | const [inline] |
Definition at line 214 of file ASTUnit.h.
References clang::SourceManager::getLocForStartOfFile(), clang::SourceLocation::getLocWithOffset(), clang::SourceManager::getPreambleFileID(), and size().
| size_t clang::ASTUnit::PreambleData::size | ( | ) | const [inline] |
Definition at line 202 of file ASTUnit.h.
Referenced by clang::ASTUnit::CodeComplete(), getSourceRange(), clang::ASTUnit::mapLocationFromPreamble(), and clang::ASTUnit::mapLocationToPreamble().