clang API Documentation
#include <FileOffset.h>
Public Member Functions | |
FileOffset () | |
FileOffset (FileID fid, unsigned offs) | |
bool | isInvalid () const |
FileID | getFID () const |
unsigned | getOffset () const |
FileOffset | getWithOffset (unsigned offset) const |
Friends | |
bool | operator== (FileOffset LHS, FileOffset RHS) |
bool | operator!= (FileOffset LHS, FileOffset RHS) |
bool | operator< (FileOffset LHS, FileOffset RHS) |
bool | operator> (FileOffset LHS, FileOffset RHS) |
bool | operator>= (FileOffset LHS, FileOffset RHS) |
bool | operator<= (FileOffset LHS, FileOffset RHS) |
Definition at line 19 of file FileOffset.h.
clang::edit::FileOffset::FileOffset | ( | ) | [inline] |
Definition at line 23 of file FileOffset.h.
clang::edit::FileOffset::FileOffset | ( | FileID | fid, |
unsigned | offs | ||
) | [inline] |
Definition at line 24 of file FileOffset.h.
FileID clang::edit::FileOffset::getFID | ( | ) | const [inline] |
Definition at line 28 of file FileOffset.h.
Referenced by adjustRemoval(), applyRewrite(), and clang::edit::Commit::replaceWithInner().
unsigned clang::edit::FileOffset::getOffset | ( | ) | const [inline] |
Definition at line 29 of file FileOffset.h.
Referenced by adjustRemoval(), applyRewrite(), and clang::edit::Commit::replaceWithInner().
FileOffset clang::edit::FileOffset::getWithOffset | ( | unsigned | offset | ) | const [inline] |
Definition at line 31 of file FileOffset.h.
Referenced by clang::edit::EditedSource::applyRewrites(), and clang::edit::Commit::replaceWithInner().
bool clang::edit::FileOffset::isInvalid | ( | ) | const [inline] |
Definition at line 26 of file FileOffset.h.
References clang::FileID::isInvalid().
bool operator!= | ( | FileOffset | LHS, |
FileOffset | RHS | ||
) | [friend] |
Definition at line 40 of file FileOffset.h.
bool operator< | ( | FileOffset | LHS, |
FileOffset | RHS | ||
) | [friend] |
Definition at line 43 of file FileOffset.h.
bool operator<= | ( | FileOffset | LHS, |
FileOffset | RHS | ||
) | [friend] |
Definition at line 52 of file FileOffset.h.
bool operator== | ( | FileOffset | LHS, |
FileOffset | RHS | ||
) | [friend] |
Definition at line 37 of file FileOffset.h.
bool operator> | ( | FileOffset | LHS, |
FileOffset | RHS | ||
) | [friend] |
Definition at line 46 of file FileOffset.h.
bool operator>= | ( | FileOffset | LHS, |
FileOffset | RHS | ||
) | [friend] |
Definition at line 49 of file FileOffset.h.