LLVM  8.0.1
Public Types | Static Public Member Functions | Public Attributes | List of all members
llvm::BitstreamEntry Struct Reference

When advancing through a bitstream cursor, each advance can discover a few different kinds of entries: More...

#include "llvm/Bitcode/BitstreamReader.h"

Collaboration diagram for llvm::BitstreamEntry:
Collaboration graph
[legend]

Public Types

enum  { Error, EndBlock, SubBlock, Record }
 

Static Public Member Functions

static BitstreamEntry getError ()
 
static BitstreamEntry getEndBlock ()
 
static BitstreamEntry getSubBlock (unsigned ID)
 
static BitstreamEntry getRecord (unsigned AbbrevID)
 

Public Attributes

enum llvm::BitstreamEntry:: { ... }  Kind
 
unsigned ID
 

Detailed Description

When advancing through a bitstream cursor, each advance can discover a few different kinds of entries:

Definition at line 279 of file BitstreamReader.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Error 
EndBlock 
SubBlock 
Record 

Definition at line 280 of file BitstreamReader.h.

Member Function Documentation

◆ getEndBlock()

static BitstreamEntry llvm::BitstreamEntry::getEndBlock ( )
inlinestatic

Definition at line 294 of file BitstreamReader.h.

References E, and Kind.

Referenced by llvm::BitstreamCursor::advance().

◆ getError()

static BitstreamEntry llvm::BitstreamEntry::getError ( )
inlinestatic

◆ getRecord()

static BitstreamEntry llvm::BitstreamEntry::getRecord ( unsigned  AbbrevID)
inlinestatic

Definition at line 302 of file BitstreamReader.h.

References E, ID, and Kind.

Referenced by llvm::BitstreamCursor::advance().

◆ getSubBlock()

static BitstreamEntry llvm::BitstreamEntry::getSubBlock ( unsigned  ID)
inlinestatic

Definition at line 298 of file BitstreamReader.h.

References E, ID, and Kind.

Referenced by llvm::BitstreamCursor::advance().

Member Data Documentation

◆ ID

unsigned llvm::BitstreamEntry::ID

◆ Kind

enum { ... } llvm::BitstreamEntry::Kind

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