reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
93 Rewrite.setSourceMgr(SM, PP.getLangOpts()); 94 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); 114 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); 117 if (!SM.isWrittenInMainFile(PPLoc)) { 133 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); 139 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); 153 unsigned PPOffs = SM.getFileOffset(PPLoc); 154 unsigned RawOffs = SM.getFileOffset(RawTok.getLocation()); 176 RawOffs = SM.getFileOffset(RawTok.getLocation()); 199 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); 200 PPOffs = SM.getFileOffset(PPLoc); 209 Rewrite.getRewriteBufferFor(SM.getMainFileID())) {