Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Tooling/Syntax/
DTokens.cpp199 assert(ExpandedTokens.data() <= Expanded && in spelledForExpandedToken()
200 Expanded < ExpandedTokens.data() + ExpandedTokens.size()); in spelledForExpandedToken()
208 unsigned ExpandedIndex = Expanded - ExpandedTokens.data(); in spelledForExpandedToken()
297 assert(ExpandedBegin < ExpandedTokens.size()); in expandedForSpelled()
298 assert(ExpandedEnd < ExpandedTokens.size()); in expandedForSpelled()
302 return {llvm::makeArrayRef(ExpandedTokens.data() + ExpandedBegin, in expandedForSpelled()
303 ExpandedTokens.data() + ExpandedEnd)}; in expandedForSpelled()
369 unsigned BeginExpanded = Expanded.begin() - ExpandedTokens.data(); in spelledForExpanded()
370 unsigned EndExpanded = Expanded.end() - ExpandedTokens.data(); in spelledForExpanded()
388 E.Expanded = llvm::makeArrayRef(ExpandedTokens.data() + M.BeginExpanded, in makeExpansion()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DSelection.cpp255 test(llvm::ArrayRef<syntax::Token> ExpandedTokens) const { in test()
259 while (!ExpandedTokens.empty()) { in test()
261 FileID FID = SM.getFileID(ExpandedTokens.front().location()); in test()
262 auto Batch = ExpandedTokens.take_while([&](const syntax::Token &T) { in test()
266 ExpandedTokens = ExpandedTokens.drop_front(Batch.size()); in test()
DXRefs.cpp427 auto ExpandedTokens = TB.expandedTokens( in tokenSpelledAt() local
429 return !ExpandedTokens.empty(); in tokenSpelledAt()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DTokens.h192 return ExpandedTokens; in expandedTokens()
368 std::vector<syntax::Token> ExpandedTokens; variable