Lines Matching refs:SM

22 clang::getPointeeTypeText(const DeclaratorDecl *VD, const SourceManager &SM,  in getPointeeTypeText()  argument
70 Lexer::getLocForEndOfToken(PteTyLoc.getEndLoc(), 0, SM, LangOpts); in getPointeeTypeText()
76 if (!SM.isBeforeInTranslationUnit(PteEndOfTokenLoc, IdentLoc) && in getPointeeTypeText()
92 return getRangeText({PteTyLoc.getBeginLoc(), PteEndOfTokenLoc}, SM, LangOpts) in getPointeeTypeText()
98 getPointee2TypeText(const DeclaratorDecl *VD, const SourceManager &SM, in getPointee2TypeText() argument
152 Lexer::getLocForEndOfToken(PteTyLoc.getEndLoc(), 0, SM, LangOpts); in getPointee2TypeText()
158 if (!SM.isBeforeInTranslationUnit(PteEndOfTokenLoc, IdentLoc)) { in getPointee2TypeText()
173 return getRangeText({PteTyLoc.getBeginLoc(), PteEndOfTokenLoc}, SM, LangOpts) in getPointee2TypeText()
186 const SourceManager &SM, in getRangeText() argument
190 StringRef Text = Lexer::getSourceText(CSR, SM, LangOpts, &Invalid); in getRangeText()
200 const SourceManager &SM, in getVarDeclIdentifierText() argument
204 Lexer::getLocForEndOfToken(getVarDeclIdentifierLoc(VD), 0, SM, LangOpts); in getVarDeclIdentifierText()
211 !Lexer::isAtEndOfMacroExpansion(ParmIdentEndLoc, SM, LangOpts)) in getVarDeclIdentifierText()
213 return getRangeText({ParmIdentBeginLoc, ParmIdentEndLoc}, SM, LangOpts); in getVarDeclIdentifierText()
218 const SourceManager &SM, in getExprText() argument
220 std::optional<SourceLocation> LastCharLoc = getPastLoc(E, SM, LangOpts); in getExprText()
224 CharSourceRange::getCharRange(E->getBeginLoc(), *LastCharLoc), SM, in getExprText()