LLVM  8.0.1
Public Member Functions | List of all members
llvm::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 "llvm/Support/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.

Definition at line 55 of file ErrorHandling.h.

Constructor & Destructor Documentation

◆ ScopedFatalErrorHandler()

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

Definition at line 56 of file ErrorHandling.h.

References llvm::install_fatal_error_handler().

◆ ~ScopedFatalErrorHandler()

llvm::ScopedFatalErrorHandler::~ScopedFatalErrorHandler ( )
inline

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