clang 22.0.0git
clang::FoldExpandedConstraint Struct Reference

#include "clang/Sema/SemaConcept.h"

Public Types

enum class  FoldOperatorKind { And , Or }

Public Member Functions

 FoldExpandedConstraint (FoldOperatorKind K, NormalizedConstraint C, const Expr *Pattern)

Static Public Member Functions

static bool AreCompatibleForSubsumption (const FoldExpandedConstraint &A, const FoldExpandedConstraint &B)

Public Attributes

enum clang::FoldExpandedConstraint::FoldOperatorKind Kind
NormalizedConstraint Constraint
const ExprPattern

Detailed Description

Definition at line 127 of file SemaConcept.h.

Member Enumeration Documentation

◆ FoldOperatorKind

Enumerator
And 
Or 

Definition at line 128 of file SemaConcept.h.

Constructor & Destructor Documentation

◆ FoldExpandedConstraint()

clang::FoldExpandedConstraint::FoldExpandedConstraint ( FoldOperatorKind K,
NormalizedConstraint C,
const Expr * Pattern )
inline

Definition at line 132 of file SemaConcept.h.

References clang::C, Constraint, Kind, and Pattern.

Referenced by AreCompatibleForSubsumption().

Member Function Documentation

◆ AreCompatibleForSubsumption()

bool FoldExpandedConstraint::AreCompatibleForSubsumption ( const FoldExpandedConstraint & A,
const FoldExpandedConstraint & B )
static

Member Data Documentation

◆ Constraint

NormalizedConstraint clang::FoldExpandedConstraint::Constraint

Definition at line 129 of file SemaConcept.h.

Referenced by FoldExpandedConstraint(), and substituteParameterMappings().

◆ Kind

enum clang::FoldExpandedConstraint::FoldOperatorKind clang::FoldExpandedConstraint::Kind

Referenced by FoldExpandedConstraint().

◆ Pattern

const Expr* clang::FoldExpandedConstraint::Pattern

Definition at line 130 of file SemaConcept.h.

Referenced by AreCompatibleForSubsumption(), and FoldExpandedConstraint().


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