clang 23.0.0git
clang::OMPInteropPref Struct Referencefinal

One entry of a prefer_type list. More...

#include "clang/Basic/OpenMPKinds.h"

Public Member Functions

 OMPInteropPref (Expr *Fr, llvm::SmallVector< Expr *, 2 > Attrs)

Public Attributes

ExprFr = nullptr
llvm::SmallVector< Expr *, 2 > Attrs

Detailed Description

One entry of a prefer_type list.

Each pref-spec carries an optional fr() foreign-runtime-id expression and zero or more attr() ext-string-literal expressions. Fr is nullptr for attr-only specs.

Definition at line 301 of file OpenMPKinds.h.

Constructor & Destructor Documentation

◆ OMPInteropPref()

clang::OMPInteropPref::OMPInteropPref ( Expr * Fr,
llvm::SmallVector< Expr *, 2 > Attrs )
inline

Definition at line 302 of file OpenMPKinds.h.

References Attrs, and Fr.

Member Data Documentation

◆ Attrs

llvm::SmallVector<Expr *, 2> clang::OMPInteropPref::Attrs

◆ Fr

Expr* clang::OMPInteropPref::Fr = nullptr

Definition at line 304 of file OpenMPKinds.h.

Referenced by clang::SemaOpenMP::ActOnOpenMPInitClause(), and OMPInteropPref().


The documentation for this struct was generated from the following file: