struct Sema::DeclareTargetContextInfo

Declaration

struct Sema::DeclareTargetContextInfo { /* full declaration omitted */ };

Declared at: clang/include/clang/Sema/Sema.h:10593

Member Variables

public llvm::DenseMap<NamedDecl*, MapInfo> ExplicitlyMapped
Explicitly listed variables and functions in a 'to' or 'link' clause.
public OMPDeclareTargetDeclAttr::DevTypeTy DT = OMPDeclareTargetDeclAttr::DT_Any
The 'device_type' as parsed from the clause.
public clang::OpenMPDirectiveKind Kind
The directive kind, `begin declare target` or `declare target`.
public Optional<clang::Expr*> Indirect
The directive with indirect clause.
public clang::SourceLocation Loc
The directive location.

Method Overview

Methods

ΒΆDeclareTargetContextInfo(
    clang::OpenMPDirectiveKind Kind,
    clang::SourceLocation Loc)

Declared at: clang/include/clang/Sema/Sema.h:10613

Parameters

clang::OpenMPDirectiveKind Kind
clang::SourceLocation Loc