clang 22.0.0git
|
#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 23 of file Commit.cpp.
References clang::SourceLocation::getLocWithOffset(), clang::SourceLocation::isFileID(), Offset, and SM.
Referenced by getFileRange().
CharSourceRange Commit::Edit::getFileRange | ( | SourceManager & | SM | ) | const |
Definition at line 30 of file Commit.cpp.
References clang::CharSourceRange::getCharRange(), getFileLocation(), clang::SourceLocation::getLocWithOffset(), Length, and SM.
Referenced by applyCocoaAPICheck().
CharSourceRange Commit::Edit::getInsertFromRange | ( | SourceManager & | SM | ) | const |
Definition at line 35 of file Commit.cpp.
References clang::CharSourceRange::getCharRange(), clang::SourceLocation::getLocWithOffset(), InsertFromRangeOffs, clang::SourceLocation::isFileID(), Length, and SM.
Referenced by applyCocoaAPICheck().
bool clang::edit::Commit::Edit::BeforePrev |
Definition at line 44 of file Commit.h.
Referenced by applyCocoaAPICheck().
FileOffset clang::edit::Commit::Edit::InsertFromRangeOffs |
Definition at line 42 of file Commit.h.
Referenced by getInsertFromRange().
EditKind clang::edit::Commit::Edit::Kind |
Definition at line 38 of file Commit.h.
Referenced by applyCocoaAPICheck().
unsigned clang::edit::Commit::Edit::Length |
Definition at line 43 of file Commit.h.
Referenced by getFileRange(), and getInsertFromRange().
FileOffset clang::edit::Commit::Edit::Offset |
Definition at line 41 of file Commit.h.
Referenced by getFileLocation().
SourceLocation clang::edit::Commit::Edit::OrigLoc |
Definition at line 40 of file Commit.h.
Referenced by applyCocoaAPICheck().
StringRef clang::edit::Commit::Edit::Text |
Definition at line 39 of file Commit.h.
Referenced by applyCocoaAPICheck().