LLVM 20.0.0git
Public Member Functions | List of all members
llvm::BCBlockRAII Class Reference

RAII object to pair entering and exiting a sub-block. More...

#include "llvm/Bitcode/BitcodeConvenience.h"

Public Member Functions

 BCBlockRAII (llvm::BitstreamWriter &Stream, unsigned block, unsigned abbrev)
 
 ~BCBlockRAII ()
 

Detailed Description

RAII object to pair entering and exiting a sub-block.

Definition at line 474 of file BitcodeConvenience.h.

Constructor & Destructor Documentation

◆ BCBlockRAII()

llvm::BCBlockRAII::BCBlockRAII ( llvm::BitstreamWriter Stream,
unsigned  block,
unsigned  abbrev 
)
inline

Definition at line 478 of file BitcodeConvenience.h.

References block, and llvm::BitstreamWriter::EnterSubblock().

◆ ~BCBlockRAII()

llvm::BCBlockRAII::~BCBlockRAII ( )
inline

Definition at line 483 of file BitcodeConvenience.h.

References llvm::BitstreamWriter::ExitBlock().


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