clang API Documentation

Public Member Functions | Friends
clang::edit::FileOffset Class Reference

#include <FileOffset.h>

List of all members.

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)

Detailed Description

Definition at line 19 of file FileOffset.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

Definition at line 28 of file FileOffset.h.

Referenced by adjustRemoval(), applyRewrite(), and clang::edit::Commit::replaceWithInner().

Definition at line 29 of file FileOffset.h.

Referenced by adjustRemoval(), applyRewrite(), and clang::edit::Commit::replaceWithInner().

Definition at line 26 of file FileOffset.h.

References clang::FileID::isInvalid().


Friends And Related Function Documentation

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.


The documentation for this class was generated from the following file: