Lines Matching defs:Bindings
872 SmallVector<BindingDecl*, 8> Bindings;
930 Bindings.push_back(BD);
945 MultiTemplateParamsArg(), AddToScope, Bindings);
958 Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src,
961 if ((int64_t)Bindings.size() != NumElems) {
963 << DecompType << (unsigned)Bindings.size()
965 << toString(NumElems, 10) << (NumElems < Bindings.size());
970 for (auto *B : Bindings) {
985 ArrayRef<BindingDecl *> Bindings,
990 S, Bindings, Src, DecompType, NumElems, ElemType,
999 static bool checkArrayDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings,
1002 return checkArrayLikeDecomposition(S, Bindings, Src, DecompType,
1007 static bool checkVectorDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings,
1011 S, Bindings, Src, DecompType, llvm::APSInt::get(VT->getNumElements()),
1017 ArrayRef<BindingDecl *> Bindings,
1021 S, Bindings, Src, DecompType, llvm::APSInt::get(2),
1213 ArrayRef<BindingDecl *> Bindings,
1216 if ((int64_t)Bindings.size() != TupleSize) {
1218 << DecompType << (unsigned)Bindings.size()
1220 << toString(TupleSize, 10) << (TupleSize < Bindings.size());
1224 if (Bindings.empty())
1256 for (auto *B : Bindings) {
1423 static bool checkMemberDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings,
1442 assert(Bindings.size() != NumFields);
1444 << DecompType << (unsigned)Bindings.size() << NumFields << NumFields
1445 << (NumFields < Bindings.size());
1477 if (I >= Bindings.size())
1479 auto *B = Bindings[I++];
1517 if (I != Bindings.size())
1535 ArrayRef<BindingDecl*> Bindings = DD->bindings();
1542 if (checkArrayDecomposition(*this, Bindings, DD, DecompType, CAT))
1547 if (checkVectorDecomposition(*this, Bindings, DD, DecompType, VT))
1552 if (checkComplexDecomposition(*this, Bindings, DD, DecompType, CT))
1567 if (checkTupleLikeDecomposition(*this, Bindings, DD, DecompType, TupleSize))
1588 if (checkMemberDecomposition(*this, Bindings, DD, DecompType, RD))