Home
last modified time | relevance | path

Searched refs:sourceManager (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DExpandMacro.cpp71 auto &SM = Tokens.sourceManager(); in findIdentifierUnderCursor()
DDefineOutline.cpp323 return TokBuf.sourceManager().isBeforeInTranslationUnit(Tok.location(), in getDeletionRange()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DTokens.h305 const SourceManager &sourceManager() const { return *SourceMgr; } in sourceManager() function
/external/llvm-project/clang/lib/Tooling/Syntax/
DTokens.cpp407 assert(T1 == T2 || sourceManager().isBeforeInTranslationUnit(T1, T2)); in fileForSpelled()
462 Loc, Tokens.spelledTokens(Tokens.sourceManager().getFileID(Loc))); in spelledTokensTouching()
479 Loc, Tokens.spelledTokens(Tokens.sourceManager().getFileID(Loc))); in spelledIdentifierTouching()
DBuildTree.cpp374 const SourceManager &sourceManager() const { in sourceManager() function in syntax::TreeBuilder
1549 Builder.sourceManager(), D->getTypeSourceInfo()->getTypeLoc(), in processDeclaratorAndDeclaration()
/external/llvm-project/clang-tools-extra/clangd/
DSelection.cpp786 const auto &SM = Tokens.sourceManager(); in pointBounds()
794 unsigned Offset = Tokens.sourceManager().getFileOffset(Tok.location()); in pointBounds()
DXRefs.cpp428 TB.sourceManager().getMacroArgExpandedLocation(SpellingLoc)); in tokenSpelledAt()
571 const SourceManager &SM = TB.sourceManager(); in findNearbyIdentifier()
1075 Loc = TB.sourceManager().getFileLoc(Loc); in toHighlight()
1079 TB.sourceManager(), in toHighlight()
DDumpAST.cpp97 Tokens.sourceManager(), in getRange()
DSourceCode.cpp922 const auto &SM = TB.sourceManager(); in touching()