Home
last modified time | relevance | path

Searched refs:ExpandedTokens (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp232 ExpandedTokIndex.reserve(ExpandedTokens.size()); in indexExpandedTokens()
234 for (size_t I = 0, E = ExpandedTokens.size(); I != E; ++I) { in indexExpandedTokens()
235 SourceLocation Loc = ExpandedTokens[I].location(); in indexExpandedTokens()
251 const Token *L = ExpandedTokens.data() + B->getSecond(); in expandedTokens()
253 const Token *R = ExpandedTokens.data() + E->getSecond() + 1; in expandedTokens()
273 assert(ExpandedTokens.data() <= Expanded && in spelledForExpandedToken()
274 Expanded < ExpandedTokens.data() + ExpandedTokens.size()); in spelledForExpandedToken()
282 unsigned ExpandedIndex = Expanded - ExpandedTokens.data(); in spelledForExpandedToken()
371 assert(ExpandedBegin < ExpandedTokens.size()); in expandedForSpelled()
372 assert(ExpandedEnd < ExpandedTokens.size()); in expandedForSpelled()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DMacroExpansionContext.cpp110 const auto It = ExpandedTokens.find_as(MacroExpansionLoc); in getExpandedText()
111 if (It == ExpandedTokens.end()) in getExpandedText()
163 LocalExpandedTokens.reserve(ExpandedTokens.size()); in dumpExpandedTextsToStream()
164 for (const auto &Record : ExpandedTokens) in dumpExpandedTextsToStream()
228 ExpandedTokens.try_emplace(CurrExpansionLoc, std::move(TokenAsString)); in onTokenLexed()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DMacroExpansionContext.h112 ExpansionMap ExpandedTokens; variable
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTokens.h191 return ExpandedTokens; in expandedTokens()
372 std::vector<syntax::Token> ExpandedTokens; variable