class CGOpenMPRuntime::DisableAutoDeclareTargetRAII

Declaration

class CGOpenMPRuntime::DisableAutoDeclareTargetRAII { /* full declaration omitted */ };

Description

Allows to disable automatic handling of functions used in target regions as those marked as `omp declare target`.

Declared at: clang/lib/CodeGen/CGOpenMPRuntime.h:232

Member Variables

private clang::CodeGen::CodeGenModule& CGM
private bool SavedShouldMarkAsGlobal

Method Overview

Methods

DisableAutoDeclareTargetRAII(
    clang::CodeGen::CodeGenModule& CGM)

Declared at: clang/lib/CodeGen/CGOpenMPRuntime.h:237

Parameters

clang::CodeGen::CodeGenModule& CGM

~DisableAutoDeclareTargetRAII()

Declared at: clang/lib/CodeGen/CGOpenMPRuntime.h:238