LLVM  4.0.0
Public Member Functions | List of all members
llvm::SaveOr Struct Reference

Similar to SaveAndRestore. More...

#include <SaveAndRestore.h>

Public Member Functions

 SaveOr (bool &X)
 
 ~SaveOr ()
 

Detailed Description

Similar to SaveAndRestore.

Operates only on bools; the old value of a variable is saved, and during the dstor the old value is or'ed with the new value.

Definition at line 38 of file SaveAndRestore.h.

Constructor & Destructor Documentation

llvm::SaveOr::SaveOr ( bool X)
inline

Definition at line 39 of file SaveAndRestore.h.

llvm::SaveOr::~SaveOr ( )
inline

Definition at line 40 of file SaveAndRestore.h.


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