struct ASTContext::PerModuleInitializers

Declaration

struct ASTContext::PerModuleInitializers { /* full declaration omitted */ };

Description

Initializers for a module, in order. Each Decl will be either something that has a semantic effect on startup (such as a variable with a non-constant initializer), or an ImportDecl (which recursively triggers initialization of another module).

Declared at: clang/include/clang/AST/ASTContext.h:468

Member Variables

public llvm::SmallVector<Decl*, 4> Initializers
public llvm::SmallVector<uint32_t, 4> LazyInitializers

Method Overview

  • public void resolve(clang::ASTContext & Ctx)

Methods

ΒΆvoid resolve(clang::ASTContext& Ctx)

Declared at: clang/include/clang/AST/ASTContext.h:472

Parameters

clang::ASTContext& Ctx