Home
last modified time | relevance | path

Searched refs:AtomicConstraint (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/include/clang/Sema/
DSemaConcept.h30 struct AtomicConstraint { struct
34 AtomicConstraint(Sema &S, const Expr *ConstraintExpr) : in AtomicConstraint() argument
38 const AtomicConstraint &Other) const { in hasMatchingParameterMapping() argument
58 bool subsumes(ASTContext &C, const AtomicConstraint &Other) const { in subsumes() argument
91 llvm::PointerUnion<AtomicConstraint *, CompoundConstraint> Constraint;
93 NormalizedConstraint(AtomicConstraint *C): Constraint{C} { }; in NormalizedConstraint()
102 Constraint = new (C) AtomicConstraint(*Other.getAtomicConstraint()); in NormalizedConstraint()
129 bool isAtomic() const { return Constraint.is<AtomicConstraint *>(); } in isAtomic()
141 AtomicConstraint *getAtomicConstraint() const { in getAtomicConstraint()
144 return Constraint.get<AtomicConstraint *>(); in getAtomicConstraint()
/external/llvm-project/clang/lib/Sema/
DSemaConcept.cpp675 AtomicConstraint &Atomic = *N.getAtomicConstraint(); in substituteParameterMappings()
795 return NormalizedConstraint{new (S.Context) AtomicConstraint(S, E)}; in fromConstraintExpr()
799 llvm::SmallVector<llvm::SmallVector<AtomicConstraint *, 2>, 4>;
875 for (const AtomicConstraint *Pia : Pi) { in subsumes()
876 for (const AtomicConstraint *Qjb : Qj) { in subsumes()
935 [this] (const AtomicConstraint &A, const AtomicConstraint &B) { in IsAtLeastAsConstrained()
953 [this] (const AtomicConstraint &A, const AtomicConstraint &B) { in MaybeEmitAmbiguousAtomicConstraintsDiagnostic()
959 [&] (const AtomicConstraint &A, const AtomicConstraint &B) { in MaybeEmitAmbiguousAtomicConstraintsDiagnostic()