clang API Documentation

Public Member Functions
clang::PoisonIdentifierRAIIObject Class Reference

an RAII object for [un]poisoning an identifier within a certain scope. II is allowed to be null, in which case, objects of this type have no effect. More...

#include <IdentifierTable.h>

List of all members.

Public Member Functions

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

Detailed Description

an RAII object for [un]poisoning an identifier within a certain scope. II is allowed to be null, in which case, objects of this type have no effect.

Definition at line 319 of file IdentifierTable.h.


Constructor & Destructor Documentation

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

Definition at line 323 of file IdentifierTable.h.

References clang::IdentifierInfo::setIsPoisoned().

clang::PoisonIdentifierRAIIObject::~PoisonIdentifierRAIIObject ( ) [inline]

Definition at line 329 of file IdentifierTable.h.

References clang::IdentifierInfo::setIsPoisoned().


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