9#ifndef LLVM_CLANG_EDIT_FILEOFFSET_H
10#define LLVM_CLANG_EDIT_FILEOFFSET_H
33 NewOffs.Offs += offset;
38 return LHS.FID == RHS.FID && LHS.Offs == RHS.Offs;
46 return std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, RHS.Offs);
Defines the clang::SourceLocation class and associated facilities.
An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with it...
friend bool operator<=(FileOffset LHS, FileOffset RHS)
friend bool operator<(FileOffset LHS, FileOffset RHS)
friend bool operator>=(FileOffset LHS, FileOffset RHS)
friend bool operator!=(FileOffset LHS, FileOffset RHS)
FileOffset getWithOffset(unsigned offset) const
FileOffset(FileID fid, unsigned offs)
unsigned getOffset() const
friend bool operator==(FileOffset LHS, FileOffset RHS)
friend bool operator>(FileOffset LHS, FileOffset RHS)
The JSON file list parser is used to communicate input to InstallAPI.