LLVM 22.0.0git
llvm::BitstreamEntry Struct Reference

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

#include "llvm/Bitstream/BitstreamReader.h"

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 325 of file BitstreamReader.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Error 
EndBlock 
SubBlock 
Record 

Definition at line 326 of file BitstreamReader.h.

Member Function Documentation

◆ getEndBlock()

BitstreamEntry llvm::BitstreamEntry::getEndBlock ( )
inlinestatic

Definition at line 340 of file BitstreamReader.h.

References E(), and EndBlock.

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

◆ getError()

BitstreamEntry llvm::BitstreamEntry::getError ( )
inlinestatic

Definition at line 336 of file BitstreamReader.h.

References E(), and Error.

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

◆ getRecord()

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

Definition at line 348 of file BitstreamReader.h.

References E(), and Record.

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

◆ getSubBlock()

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

Definition at line 344 of file BitstreamReader.h.

References E(), ID, and SubBlock.

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

Member Data Documentation

◆ ID

unsigned llvm::BitstreamEntry::ID

Definition at line 334 of file BitstreamReader.h.

Referenced by getSubBlock().

◆ []

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

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