clang API Documentation

Public Member Functions | Public Attributes
clang::serialization::DeclOffset Struct Reference

Source range/offset of a preprocessed entity. More...

#include <ASTBitCodes.h>

Collaboration diagram for clang::serialization::DeclOffset:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DeclOffset ()
 DeclOffset (SourceLocation Loc, uint32_t BitOffset)
void setLocation (SourceLocation L)

Public Attributes

unsigned Loc
 Raw source location.
uint32_t BitOffset
 Offset in the AST file.

Detailed Description

Source range/offset of a preprocessed entity.

Definition at line 179 of file ASTBitCodes.h.


Constructor & Destructor Documentation

Definition at line 185 of file ASTBitCodes.h.

clang::serialization::DeclOffset::DeclOffset ( SourceLocation  Loc,
uint32_t  BitOffset 
) [inline]

Definition at line 186 of file ASTBitCodes.h.


Member Function Documentation

Definition at line 189 of file ASTBitCodes.h.

References clang::SourceLocation::getRawEncoding(), and Loc.


Member Data Documentation

Offset in the AST file.

Definition at line 183 of file ASTBitCodes.h.

Raw source location.

Definition at line 181 of file ASTBitCodes.h.

Referenced by setLocation().


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