clang 22.0.0git
clang::TargetOMPContext Struct Referencefinal

Clang specific specialization of the OMPContext to lookup target features. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for clang::TargetOMPContext:
[legend]

Public Member Functions

 TargetOMPContext (ASTContext &ASTCtx, std::function< void(StringRef)> &&DiagUnknownTrait, const FunctionDecl *CurrentFunctionDecl, ArrayRef< llvm::omp::TraitProperty > ConstructTraits, int DeviceNum)
virtual ~TargetOMPContext ()=default
bool matchesISATrait (StringRef RawString) const override
 See llvm::omp::OMPContext::matchesISATrait.

Detailed Description

Clang specific specialization of the OMPContext to lookup target features.

Definition at line 9571 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ TargetOMPContext()

TargetOMPContext::TargetOMPContext ( ASTContext & ASTCtx,
std::function< void(StringRef)> && DiagUnknownTrait,
const FunctionDecl * CurrentFunctionDecl,
ArrayRef< llvm::omp::TraitProperty > ConstructTraits,
int DeviceNum )

◆ ~TargetOMPContext()

virtual clang::TargetOMPContext::~TargetOMPContext ( )
virtualdefault

References std::function.

Member Function Documentation

◆ matchesISATrait()

bool TargetOMPContext::matchesISATrait ( StringRef RawString) const
override

See llvm::omp::OMPContext::matchesISATrait.

Definition at line 2968 of file OpenMPClause.cpp.


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