Lines Matching refs:SourceMgr
37 assert(SourceMgr.isMacroArgExpansion(Loc)); in deconstructMacroArgLoc()
39 SourceMgr.getImmediateExpansionRange(Loc).getBegin(); in deconstructMacroArgLoc()
41 SourceMgr.getImmediateExpansionRange(DefArgLoc).getBegin(); in deconstructMacroArgLoc()
43 while (SourceMgr.isMacroBodyExpansion(ExpansionLoc)) in deconstructMacroArgLoc()
45 SourceMgr.getImmediateExpansionRange(ExpansionLoc).getBegin(); in deconstructMacroArgLoc()
47 StringRef ArgName = Lexer::getSpelling(SourceMgr.getSpellingLoc(DefArgLoc), in deconstructMacroArgLoc()
48 Buf, SourceMgr, LangOpts); in deconstructMacroArgLoc()
52 SourceMgr.getSpellingLoc(DefArgLoc)}; in deconstructMacroArgLoc()
81 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in canInsertInOffset()
119 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { in commitInsert()
437 applyRewrite(receiver, StrVec, CurOffs, CurLen, SourceMgr, LangOpts, in applyRewrites()
445 applyRewrite(receiver, StrVec, CurOffs, CurLen, SourceMgr, LangOpts, in applyRewrites()
458 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText()
464 SourceMgr, LangOpts, &Invalid); in getSourceText()