Home | History | Annotate | Download | only in Edit

Lines Matching refs:Commit

1 //===----- Commit.cpp - A unit of edits -----------------------------------===//
10 #include "clang/Edit/Commit.h"
19 SourceLocation Commit::Edit::getFileLocation(SourceManager &SM) const {
26 CharSourceRange Commit::Edit::getFileRange(SourceManager &SM) const {
31 CharSourceRange Commit::Edit::getInsertFromRange(SourceManager &SM) const {
38 Commit::Commit(EditedSource &Editor)
43 bool Commit::insert(SourceLocation loc, StringRef text,
59 bool Commit::insertFromRange(SourceLocation loc,
86 bool Commit::remove(CharSourceRange range) {
98 bool Commit::insertWrap(StringRef before, CharSourceRange range,
111 bool Commit::replace(CharSourceRange range, StringRef text) {
127 bool Commit::replaceWithInner(CharSourceRange range,
160 bool Commit::replaceText(SourceLocation loc, StringRef text,
177 void Commit::addInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text,
191 void Commit::addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
207 void Commit::addRemove(SourceLocation OrigLoc,
220 bool Commit::canInsert(SourceLocation loc, FileOffset &offs) {
245 bool Commit::canInsertAfterToken(SourceLocation loc, FileOffset &offs,
280 bool Commit::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) {
295 bool Commit::canRemoveRange(CharSourceRange range,
322 bool Commit::canReplaceText(SourceLocation loc, StringRef text,
339 bool Commit::isAtStartOfMacroExpansion(SourceLocation loc,
343 bool Commit::isAtEndOfMacroExpansion(SourceLocation loc,