struct GlobalizationScope

Declaration

struct GlobalizationScope : public Cleanup { /* full declaration omitted */ };

Description

Information for lazily generating a cleanup. Subclasses must be POD-like: cleanups will not be destructed, and they will be allocated on the cleanup stack and freely copied and moved around. Cleanup implementations should generally be declared in an anonymous namespace.

Declared at: clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:3674

Inherits from: EHScopeStack::Cleanup

Method Overview

  • public void Emit(clang::CodeGen::CodeGenFunction & CGF, clang::CodeGen::EHScopeStack::Cleanup::Flags flags)
  • public GlobalizationScope()

Inherited from EHScopeStack::Cleanup:

Methods

void Emit(
    clang::CodeGen::CodeGenFunction& CGF,
    clang::CodeGen::EHScopeStack::Cleanup::Flags
        flags)

Description

Emit the cleanup. For normal cleanups, this is run in the same EH context as when the cleanup was pushed, i.e. the immediately-enclosing context of the cleanup scope. For EH cleanups, this is run in a terminate context.

Declared at: clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:3677

Parameters

clang::CodeGen::CodeGenFunction& CGF
clang::CodeGen::EHScopeStack::Cleanup::Flags flags

GlobalizationScope()

Declared at: clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:3675