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

Similar to SaveAndRestore. More...

#include "llvm/Support/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

◆ SaveOr()

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

Definition at line 39 of file SaveAndRestore.h.

◆ ~SaveOr()

llvm::SaveOr::~SaveOr ( )
inline

Definition at line 40 of file SaveAndRestore.h.


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