Lines Matching full:commit
1 //===- Commit.cpp - A unit of edits ---------------------------------------===//
9 #include "clang/Edit/Commit.h"
23 SourceLocation Commit::Edit::getFileLocation(SourceManager &SM) const { in getFileLocation()
30 CharSourceRange Commit::Edit::getFileRange(SourceManager &SM) const { in getFileRange()
35 CharSourceRange Commit::Edit::getInsertFromRange(SourceManager &SM) const { in getInsertFromRange()
42 Commit::Commit(EditedSource &Editor) in Commit() function in Commit
47 bool Commit::insert(SourceLocation loc, StringRef text, in insert()
63 bool Commit::insertFromRange(SourceLocation loc, in insertFromRange()
90 bool Commit::remove(CharSourceRange range) { in remove()
102 bool Commit::insertWrap(StringRef before, CharSourceRange range, in insertWrap()
115 bool Commit::replace(CharSourceRange range, StringRef text) { in replace()
131 bool Commit::replaceWithInner(CharSourceRange range, in replaceWithInner()
164 bool Commit::replaceText(SourceLocation loc, StringRef text, in replaceText()
181 void Commit::addInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, in addInsert()
195 void Commit::addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, in addInsertFromRange()
211 void Commit::addRemove(SourceLocation OrigLoc, in addRemove()
224 bool Commit::canInsert(SourceLocation loc, FileOffset &offs) { in canInsert()
248 bool Commit::canInsertAfterToken(SourceLocation loc, FileOffset &offs, in canInsertAfterToken()
282 bool Commit::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset()
295 bool Commit::canRemoveRange(CharSourceRange range, in canRemoveRange()
322 bool Commit::canReplaceText(SourceLocation loc, StringRef text, in canReplaceText()
339 bool Commit::isAtStartOfMacroExpansion(SourceLocation loc, in isAtStartOfMacroExpansion()
344 bool Commit::isAtEndOfMacroExpansion(SourceLocation loc, in isAtEndOfMacroExpansion()