clang API Documentation
#include <Commit.h>
Public Member Functions | |
SourceLocation | getFileLocation (SourceManager &SM) const |
CharSourceRange | getFileRange (SourceManager &SM) const |
CharSourceRange | getInsertFromRange (SourceManager &SM) const |
Public Attributes | |
EditKind | Kind |
StringRef | Text |
SourceLocation | OrigLoc |
FileOffset | Offset |
FileOffset | InsertFromRangeOffs |
unsigned | Length |
bool | BeforePrev |
SourceLocation Commit::Edit::getFileLocation | ( | SourceManager & | SM | ) | const |
Definition at line 19 of file Commit.cpp.
References clang::SourceManager::getLocForStartOfFile(), clang::SourceLocation::getLocWithOffset(), and clang::SourceLocation::isFileID().
CharSourceRange Commit::Edit::getFileRange | ( | SourceManager & | SM | ) | const |
Definition at line 26 of file Commit.cpp.
References clang::CharSourceRange::getCharRange(), and clang::SourceLocation::getLocWithOffset().
Referenced by applyCocoaAPICheck().
CharSourceRange Commit::Edit::getInsertFromRange | ( | SourceManager & | SM | ) | const |
Definition at line 31 of file Commit.cpp.
References clang::CharSourceRange::getCharRange(), clang::SourceManager::getLocForStartOfFile(), clang::SourceLocation::getLocWithOffset(), and clang::SourceLocation::isFileID().
Referenced by applyCocoaAPICheck().
Definition at line 40 of file Commit.h.
Referenced by applyCocoaAPICheck(), and clang::edit::EditedSource::commit().
Definition at line 38 of file Commit.h.
Referenced by clang::edit::EditedSource::commit().
Definition at line 34 of file Commit.h.
Referenced by applyCocoaAPICheck(), and clang::edit::EditedSource::commit().
Definition at line 39 of file Commit.h.
Referenced by clang::edit::EditedSource::commit().
Definition at line 37 of file Commit.h.
Referenced by clang::edit::EditedSource::commit().
Definition at line 36 of file Commit.h.
Referenced by applyCocoaAPICheck(), and clang::edit::EditedSource::commit().
StringRef clang::edit::Commit::Edit::Text |
Definition at line 35 of file Commit.h.
Referenced by applyCocoaAPICheck(), and clang::edit::EditedSource::commit().