WPILibC++ 2023.4.3-108-ge5452e3
wpi::ScopedFatalErrorHandler Struct Reference

ScopedFatalErrorHandler - This is a simple helper class which just calls install_fatal_error_handler in its constructor and remove_fatal_error_handler in its destructor. More...

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/ErrorHandling.h>

Public Member Functions

 ScopedFatalErrorHandler (fatal_error_handler_t handler, void *user_data=nullptr)
 
 ~ScopedFatalErrorHandler ()
 

Detailed Description

ScopedFatalErrorHandler - This is a simple helper class which just calls install_fatal_error_handler in its constructor and remove_fatal_error_handler in its destructor.

Constructor & Destructor Documentation

◆ ScopedFatalErrorHandler()

wpi::ScopedFatalErrorHandler::ScopedFatalErrorHandler ( fatal_error_handler_t  handler,
void *  user_data = nullptr 
)
inlineexplicit

◆ ~ScopedFatalErrorHandler()

wpi::ScopedFatalErrorHandler::~ScopedFatalErrorHandler ( )
inline

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