class Program::Global

Declaration

class Program::Global { /* full declaration omitted */ };

Description

Descriptor + storage for a global object. Global objects never go out of scope, thus they do not track pointers.

Declared at: clang/lib/AST/Interp/Program.h:160

Member Variables

private clang::interp::Block B
Required metadata - does not actually track pointers.

Method Overview

  • public template <typename... Tys> Global(Tys... Args)
  • public clang::interp::Block * block()
  • public char * data()

Methods

template <typename... Tys>
Global(Tys... Args)

Description

Create a global descriptor for string literals.

Declared at: clang/lib/AST/Interp/Program.h:164

Templates

Tys

Parameters

Tys... Args

clang::interp::Block* block()

Description

Return a pointer to the block.

Declared at: clang/lib/AST/Interp/Program.h:174

char* data()

Description

Return a pointer to the data.

Declared at: clang/lib/AST/Interp/Program.h:172