clang
10.0.0git
|
Builds mappings and spelled tokens in the TokenBuffer based on the expanded token stream. More...
Public Member Functions | |
Builder (std::vector< syntax::Token > Expanded, PPExpansions CollectedExpansions, const SourceManager &SM, const LangOptions &LangOpts) | |
TokenBuffer | build () && |
Builds mappings and spelled tokens in the TokenBuffer based on the expanded token stream.
Definition at line 392 of file Tokens.cpp.
|
inline |
Definition at line 394 of file Tokens.cpp.
|
inline |
Definition at line 401 of file Tokens.cpp.
References clang::comments::tok::eof, clang::CharSourceRange::getBegin(), clang::SourceManager::getDecomposedLoc(), clang::CharSourceRange::getEnd(), clang::SourceManager::getExpansionLoc(), clang::SourceManager::getExpansionRange(), clang::SourceManager::getFileID(), clang::SourceManager::getFileOffset(), clang::SourceManager::getMainFileID(), clang::SourceLocation::getRawEncoding(), clang::SourceLocation::isFileID(), clang::None, Offset, SM, and clang::syntax::tokenize().