class DeclContext::DeclContextBitfields
Declaration
class DeclContext::DeclContextBitfields { /* full declaration omitted */ };
Description
Stores the bits used by DeclContext. If modified NumDeclContextBit, the ctor of DeclContext and the accessor methods in DeclContext should be updated appropriately.
Declared at: clang/include/clang/AST/DeclBase.h:1396
Member Variables
- private uint64_t DeclKind
- DeclKind - This indicates which class this is.
- private uint64_t ExternalLexicalStorage
- Whether this declaration context also has some external storage that contains additional declarations that are lexically part of this context.
- private uint64_t ExternalVisibleStorage
- Whether this declaration context also has some external storage that contains additional declarations that are visible in this context.
- private uint64_t NeedToReconcileExternalVisibleStorage
- Whether this declaration context has had externally visible storage added since the last lookup. In this case, \c LookupPtr's invariant may not hold and needs to be fixed before we perform another lookup.
- private uint64_t HasLazyLocalLexicalLookups
- If \c true, this context may have local lexical declarations that are missing from the lookup table.
- private uint64_t HasLazyExternalLexicalLookups
- If \c true, the external source may have lexical declarations that are missing from the lookup table.
- private uint64_t UseQualifiedLookup
- If \c true, lookups should only return identifier from DeclContext scope (for example TranslationUnit). Used in LookupQualifiedName()