clang  3.9.0
Public Member Functions | Public Attributes | List of all members
clang::serialization::DeclOffset Struct Reference

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

#include <ASTBitCodes.h>

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

Public Member Functions

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

Public Attributes

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

Detailed Description

Source range/offset of a preprocessed entity.

Definition at line 187 of file ASTBitCodes.h.

Constructor & Destructor Documentation

clang::serialization::DeclOffset::DeclOffset ( )
inline

Definition at line 193 of file ASTBitCodes.h.

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

Definition at line 194 of file ASTBitCodes.h.

Member Function Documentation

SourceLocation clang::serialization::DeclOffset::getLocation ( ) const
inline

Definition at line 200 of file ASTBitCodes.h.

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

void clang::serialization::DeclOffset::setLocation ( SourceLocation  L)
inline

Definition at line 197 of file ASTBitCodes.h.

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

Member Data Documentation

uint32_t clang::serialization::DeclOffset::BitOffset

Offset in the AST file.

Definition at line 191 of file ASTBitCodes.h.

unsigned clang::serialization::DeclOffset::Loc

Raw source location.

Definition at line 189 of file ASTBitCodes.h.

Referenced by getLocation(), and setLocation().


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