ΒΆbool isValidTraitSelectorForTraitSet(
    llvm::omp::TraitSelector Selector,
    llvm::omp::TraitSet Set,
    bool& AllowsTraitScore,
    bool& RequiresProperty)

Description

Return true if \p Selector can be nested in \p Set. Also sets\p AllowsTraitScore and \p RequiresProperty to true/false if the user can specify a score for properties in \p Selector and if the \p Selector requires at least one property.

Declared at: llvm/include/llvm/Frontend/OpenMP/OMPContext.h:107

Parameters

llvm::omp::TraitSelector Selector
llvm::omp::TraitSet Set
bool& AllowsTraitScore
bool& RequiresProperty