Lines Matching refs:SourceMgr
29 assert(SourceMgr.isMacroArgExpansion(Loc)); in deconstructMacroArgLoc()
30 SourceLocation DefArgLoc = SourceMgr.getImmediateExpansionRange(Loc).first; in deconstructMacroArgLoc()
31 ExpansionLoc = SourceMgr.getImmediateExpansionRange(DefArgLoc).first; in deconstructMacroArgLoc()
33 StringRef ArgName = Lexer::getSpelling(SourceMgr.getSpellingLoc(DefArgLoc), in deconstructMacroArgLoc()
34 Buf, SourceMgr, LangOpts); in deconstructMacroArgLoc()
68 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset()
103 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
417 applyRewrite(receiver, StrVec, CurOffs, CurLen, SourceMgr, LangOpts); in applyRewrites()
424 applyRewrite(receiver, StrVec, CurOffs, CurLen, SourceMgr, LangOpts); in applyRewrites()
436 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText()
442 SourceMgr, LangOpts, &Invalid); in getSourceText()