Lines Matching refs:SourceMgr
38 assert(SourceMgr.isMacroArgExpansion(Loc)); in deconstructMacroArgLoc()
40 SourceMgr.getImmediateExpansionRange(Loc).getBegin(); in deconstructMacroArgLoc()
42 SourceMgr.getImmediateExpansionRange(DefArgLoc).getBegin(); in deconstructMacroArgLoc()
44 while (SourceMgr.isMacroBodyExpansion(ExpansionLoc)) in deconstructMacroArgLoc()
46 SourceMgr.getImmediateExpansionRange(ExpansionLoc).getBegin(); in deconstructMacroArgLoc()
48 StringRef ArgName = Lexer::getSpelling(SourceMgr.getSpellingLoc(DefArgLoc), in deconstructMacroArgLoc()
49 Buf, SourceMgr, LangOpts); in deconstructMacroArgLoc()
53 SourceMgr.getSpellingLoc(DefArgLoc)}; in deconstructMacroArgLoc()
82 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset()
120 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
438 applyRewrite(receiver, StrVec, CurOffs, CurLen, SourceMgr, LangOpts, in applyRewrites()
446 applyRewrite(receiver, StrVec, CurOffs, CurLen, SourceMgr, LangOpts, in applyRewrites()
459 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText()
465 SourceMgr, LangOpts, &Invalid); in getSourceText()