struct DefinedTracker

Declaration

struct DefinedTracker { /* full declaration omitted */ };

Description

DefinedTracker - This struct is used while parsing expressions to keep track of whether !defined(X) has been seen. With this simple scheme, we handle the basic forms: !defined(X) and !defined X but we also trivially handle (silly) stuff like: !!!defined(X) and +!defined(X) and !+!+!defined(X) and !(defined(X)).

Declared at: clang/lib/Lex/PPExpressions.cpp:87

Member Variables

public enum TrackerState State
public clang::IdentifierInfo* TheMacro
TheMacro - When the state is DefinedMacro or NotDefinedMacro, this indicates the macro that was checked.
public bool IncludedUndefinedIds = false