Searched refs:TokBuf (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | DefineOutline.cpp | 148 const syntax::TokenBuffer &TokBuf) { in getFunctionSourceCode() argument 193 auto Tokens = TokBuf.expandedTokens(PVD->getSourceRange()) in getFunctionSourceCode() 215 TokBuf.spelledForExpanded(TokBuf.expandedTokens(A->getRange())); in getFunctionSourceCode() 237 for (const auto &Tok : TokBuf.expandedTokens(FromRange)) { in getFunctionSourceCode() 241 auto Spelling = TokBuf.spelledForExpanded(llvm::makeArrayRef(Tok)); in getFunctionSourceCode() 305 const syntax::TokenBuffer &TokBuf) { in getDeletionRange() argument 320 auto Toks = TokBuf.expandedTokens(CD->getSourceRange()); in getDeletionRange() 322 Toks = Toks.take_while([&TokBuf, &InitStart](const syntax::Token &Tok) { in getDeletionRange() 323 return TokBuf.sourceManager().isBeforeInTranslationUnit(Tok.location(), in getDeletionRange()
|
/external/clang/include/clang/Lex/ |
D | PTHLexer.h | 28 const unsigned char* TokBuf; variable
|
/external/clang/lib/Lex/ |
D | PTHLexer.cpp | 39 : PreprocessorLexer(&PP, FID), TokBuf(D), CurPtr(D), LastHashTokPtr(nullptr), in PTHLexer() 204 HashEntryI = TokBuf + Offset; in SkipBlock() 219 TokBuf + endian::readNext<uint32_t, little, aligned>(NextPPCondPtr); in SkipBlock() 240 TokBuf + endian::readNext<uint32_t, little, aligned>(NextPPCondPtr); in SkipBlock()
|