Lines Matching refs:SourceLocation
36 SourceLocation OrigLoc;
42 SourceLocation getFileLocation(SourceManager &SM) const;
67 bool insert(SourceLocation loc, StringRef text, bool afterToken = false,
69 bool insertAfterToken(SourceLocation loc, StringRef text,
73 bool insertBefore(SourceLocation loc, StringRef text) { in insertBefore()
77 bool insertFromRange(SourceLocation loc, CharSourceRange range,
86 bool replaceText(SourceLocation loc, StringRef text,
89 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
114 void addInsert(SourceLocation OrigLoc,
116 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
119 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len);
121 bool canInsert(SourceLocation loc, FileOffset &Offset);
122 bool canInsertAfterToken(SourceLocation loc, FileOffset &Offset,
123 SourceLocation &AfterLoc);
124 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
126 bool canReplaceText(SourceLocation loc, StringRef text,
133 bool isAtStartOfMacroExpansion(SourceLocation loc,
134 SourceLocation *MacroBegin = nullptr) const;
135 bool isAtEndOfMacroExpansion(SourceLocation loc,
136 SourceLocation *MacroEnd = nullptr) const;