LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::ScopedFatalErrorHandler Struct Reference

#include <ErrorHandling.h>

Public Member Functions

 ScopedFatalErrorHandler (fatal_error_handler_t handler, void *user_data=0)
 
 ~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 60 of file ErrorHandling.h.

Constructor & Destructor Documentation

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

Definition at line 61 of file ErrorHandling.h.

References llvm::install_fatal_error_handler().

llvm::ScopedFatalErrorHandler::~ScopedFatalErrorHandler ( )
inline

Definition at line 66 of file ErrorHandling.h.

References llvm::remove_fatal_error_handler().


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