clang 22.0.0git
clang::CompoundConstraint Class Reference

#include "clang/Sema/SemaConcept.h"

Inheritance diagram for clang::CompoundConstraint:
[legend]

Public Member Functions

const NormalizedConstraintgetLHS () const
NormalizedConstraintgetLHS ()
const NormalizedConstraintgetRHS () const
NormalizedConstraintgetRHS ()
CompoundConstraintKind getCompoundKind () const
Public Member Functions inherited from clang::NormalizedConstraint
ConstraintKind getKind () const
SourceLocation getBeginLoc () const
SourceLocation getEndLoc () const
SourceRange getSourceRange () const

Static Public Member Functions

static CompoundConstraintCreate (ASTContext &Ctx, NormalizedConstraint *LHS, CompoundConstraintKind CCK, NormalizedConstraint *RHS)
static CompoundConstraintCreateConjunction (ASTContext &Ctx, NormalizedConstraint *LHS, NormalizedConstraint *RHS)

Additional Inherited Members

Public Types inherited from clang::NormalizedConstraint
enum class  ConstraintKind : unsigned char { Atomic = 0 , ConceptId , FoldExpanded , Compound }
enum  CompoundConstraintKind : unsigned char { CCK_Conjunction , CCK_Disjunction }
enum class  FoldOperatorKind : unsigned char { And , Or }
using OccurenceList = llvm::SmallBitVector
Protected Types inherited from clang::NormalizedConstraint
using ExprOrConcept
Protected Member Functions inherited from clang::NormalizedConstraint
 ~NormalizedConstraint ()
 NormalizedConstraint (const Expr *ConstraintExpr, const NamedDecl *ConstraintDecl, UnsignedOrNone PackIndex)
 NormalizedConstraint (const Expr *Pattern, FoldOperatorKind OpKind, NormalizedConstraint *Constraint, const NamedDecl *ConstraintDecl)
 NormalizedConstraint (const ConceptReference *ConceptId, const NamedDecl *ConstraintDecl, NormalizedConstraint *SubConstraint, const ConceptSpecializationExpr *CSE, UnsignedOrNone PackIndex)
 NormalizedConstraint (NormalizedConstraint *LHS, CompoundConstraintKind CCK, NormalizedConstraint *RHS)
bool hasParameterMapping () const
const OccurenceListmappingOccurenceList () const
const OccurenceListmappingOccurenceListForSubsumption () const
llvm::MutableArrayRef< TemplateArgumentLocgetParameterMapping () const
TemplateParameterListgetUsedTemplateParamList () const
void updateParameterMapping (OccurenceList Indexes, OccurenceList IndexesForSubsumption, llvm::MutableArrayRef< TemplateArgumentLoc > Args, TemplateParameterList *ParamList)
bool hasMatchingParameterMapping (ASTContext &C, const NormalizedConstraint &Other) const
Protected Attributes inherited from clang::NormalizedConstraint
union { 
   AtomicConstraintBits   Atomic 
   FoldExpandedConstraintBits   FoldExpanded 
   ConceptIdBits   ConceptId 
   CompoundConstraintBits   Compound 
}; 

Detailed Description

Definition at line 289 of file SemaConcept.h.

Member Function Documentation

◆ Create()

CompoundConstraint * clang::CompoundConstraint::Create ( ASTContext & Ctx,
NormalizedConstraint * LHS,
CompoundConstraintKind CCK,
NormalizedConstraint * RHS )
inlinestatic

Definition at line 293 of file SemaConcept.h.

◆ CreateConjunction()

CompoundConstraint * clang::CompoundConstraint::CreateConjunction ( ASTContext & Ctx,
NormalizedConstraint * LHS,
NormalizedConstraint * RHS )
inlinestatic

Definition at line 299 of file SemaConcept.h.

References clang::NormalizedConstraint::CCK_Conjunction.

◆ getCompoundKind()

CompoundConstraintKind clang::CompoundConstraint::getCompoundKind ( ) const
inline

Definition at line 313 of file SemaConcept.h.

References clang::NormalizedConstraint::Compound.

◆ getLHS() [1/2]

NormalizedConstraint & clang::CompoundConstraint::getLHS ( )
inline

Definition at line 307 of file SemaConcept.h.

References clang::NormalizedConstraint::Compound.

◆ getLHS() [2/2]

const NormalizedConstraint & clang::CompoundConstraint::getLHS ( ) const
inline

Definition at line 305 of file SemaConcept.h.

References clang::NormalizedConstraint::Compound.

◆ getRHS() [1/2]

NormalizedConstraint & clang::CompoundConstraint::getRHS ( )
inline

Definition at line 311 of file SemaConcept.h.

References clang::NormalizedConstraint::Compound.

◆ getRHS() [2/2]

const NormalizedConstraint & clang::CompoundConstraint::getRHS ( ) const
inline

Definition at line 309 of file SemaConcept.h.

References clang::NormalizedConstraint::Compound.


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