clang
6.0.0
|
#include "clang/Edit/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().
Referenced by getFileRange().
CharSourceRange Commit::Edit::getFileRange | ( | SourceManager & | SM | ) | const |
Definition at line 26 of file Commit.cpp.
References clang::CharSourceRange::getCharRange(), getFileLocation(), clang::SourceLocation::getLocWithOffset(), and Length.
CharSourceRange Commit::Edit::getInsertFromRange | ( | SourceManager & | SM | ) | const |
Definition at line 31 of file Commit.cpp.
References clang::CharSourceRange::getCharRange(), clang::edit::FileOffset::getFID(), clang::SourceManager::getLocForStartOfFile(), clang::SourceLocation::getLocWithOffset(), clang::edit::FileOffset::getOffset(), InsertFromRangeOffs, clang::SourceLocation::isFileID(), and Length.
bool clang::edit::Commit::Edit::BeforePrev |
Definition at line 40 of file Commit.h.
Referenced by clang::edit::Commit::replaceText().
FileOffset clang::edit::Commit::Edit::InsertFromRangeOffs |
Definition at line 38 of file Commit.h.
Referenced by getInsertFromRange(), and clang::edit::Commit::replaceText().
EditKind clang::edit::Commit::Edit::Kind |
Definition at line 34 of file Commit.h.
Referenced by clang::edit::Commit::replaceText().
unsigned clang::edit::Commit::Edit::Length |
Definition at line 39 of file Commit.h.
Referenced by getFileRange(), getInsertFromRange(), and clang::edit::Commit::replaceText().
FileOffset clang::edit::Commit::Edit::Offset |
Definition at line 37 of file Commit.h.
Referenced by clang::edit::Commit::replaceText().
SourceLocation clang::edit::Commit::Edit::OrigLoc |
Definition at line 36 of file Commit.h.
Referenced by clang::edit::Commit::edit_end(), and clang::edit::Commit::replaceText().
StringRef clang::edit::Commit::Edit::Text |
Definition at line 35 of file Commit.h.
Referenced by clang::edit::Commit::replaceText().