clang  3.7.0
Public Member Functions | List of all members
clang::PoisonIdentifierRAIIObject Class Reference

An RAII object for [un]poisoning an identifier within a scope. More...

#include <IdentifierTable.h>

Public Member Functions

 PoisonIdentifierRAIIObject (IdentifierInfo *II, bool NewValue)
 
 ~PoisonIdentifierRAIIObject ()
 

Detailed Description

An RAII object for [un]poisoning an identifier within a scope.

II is allowed to be null, in which case objects of this type have no effect.

Definition at line 339 of file IdentifierTable.h.

Constructor & Destructor Documentation

clang::PoisonIdentifierRAIIObject::PoisonIdentifierRAIIObject ( IdentifierInfo II,
bool  NewValue 
)
inline

Definition at line 343 of file IdentifierTable.h.

References clang::IdentifierInfo::setIsPoisoned().

clang::PoisonIdentifierRAIIObject::~PoisonIdentifierRAIIObject ( )
inline

Definition at line 349 of file IdentifierTable.h.

References clang::IdentifierInfo::setIsPoisoned().


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