class PoisonIdentifierRAIIObject

Declaration

class PoisonIdentifierRAIIObject { /* full declaration omitted */ };

Description

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

Declared at: clang/include/clang/Basic/IdentifierTable.h:488

Member Variables

private clang::IdentifierInfo* const II
private const bool OldValue

Method Overview

Methods

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

Declared at: clang/include/clang/Basic/IdentifierTable.h:493

Parameters

clang::IdentifierInfo* II
bool NewValue

~PoisonIdentifierRAIIObject()

Declared at: clang/include/clang/Basic/IdentifierTable.h:499