struct PPEntityOffset

Declaration

struct PPEntityOffset { /* full declaration omitted */ };

Description

Source range/offset of a preprocessed entity.

Declared at: clang/include/clang/Serialization/ASTBitCodes.h:177

Member Variables

public SourceLocation::UIntTy Begin
Raw source location of beginning of range.
public SourceLocation::UIntTy End
Raw source location of end of range.
public uint32_t BitOffset
Offset in the AST file relative to ModuleFile::MacroOffsetsBase.

Method Overview

  • public PPEntityOffset(clang::SourceRange R, uint32_t BitOffset)
  • public clang::SourceLocation getBegin() const
  • public clang::SourceLocation getEnd() const

Methods

PPEntityOffset(clang::SourceRange R,
               uint32_t BitOffset)

Declared at: clang/include/clang/Serialization/ASTBitCodes.h:187

Parameters

clang::SourceRange R
uint32_t BitOffset

clang::SourceLocation getBegin() const

Declared at: clang/include/clang/Serialization/ASTBitCodes.h:191

clang::SourceLocation getEnd() const

Declared at: clang/include/clang/Serialization/ASTBitCodes.h:195