class DeclContext::TagDeclBitfields

Declaration

class DeclContext::TagDeclBitfields { /* full declaration omitted */ };

Description

Stores the bits used by TagDecl. If modified NumTagDeclBits and the accessor methods in TagDecl should be updated appropriately.

Declared at: clang/include/clang/AST/DeclBase.h:1437

Member Variables

private uint64_t
For the bits in DeclContextBitfields
private uint64_t TagDeclKind
The TagKind enum.
private uint64_t IsCompleteDefinition
True if this is a definition ("struct foo {};"), false if it is a declaration ("struct foo;"). It is not considered a definition until the definition has been fully processed.
private uint64_t IsBeingDefined
True if this is currently being defined.
private uint64_t IsEmbeddedInDeclarator
True if this tag declaration is "embedded" (i.e., defined or declared for the very first time) in the syntax of a declarator.
private uint64_t IsFreeStanding
True if this tag is free standing, e.g. "struct foo;".
private uint64_t MayHaveOutOfDateDef
This option is only enabled when modules are enabled.
private uint64_t IsCompleteDefinitionRequired
Has the full definition of this type been required by a use somewhere in the TU.
private uint64_t IsThisDeclarationADemotedDefinition
Whether this tag is a definition which was demoted due to a module merge.