class FileOffset

Declaration

class FileOffset { /* full declaration omitted */ };

Declared at: clang/include/clang/Edit/FileOffset.h:18

Member Variables

private clang::FileID FID
private unsigned int Offs = 0

Method Overview

Methods

FileOffset()

Declared at: clang/include/clang/Edit/FileOffset.h:23

FileOffset(clang::FileID fid, unsigned int offs)

Declared at: clang/include/clang/Edit/FileOffset.h:24

Parameters

clang::FileID fid
unsigned int offs

clang::FileID getFID() const

Declared at: clang/include/clang/Edit/FileOffset.h:28

unsigned int getOffset() const

Declared at: clang/include/clang/Edit/FileOffset.h:29

clang::edit::FileOffset getWithOffset(
    unsigned int offset) const

Declared at: clang/include/clang/Edit/FileOffset.h:31

Parameters

unsigned int offset

bool isInvalid() const

Declared at: clang/include/clang/Edit/FileOffset.h:26