Home
last modified time | relevance | path

Searched refs:typeParams (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1514 ArrayRef<ObjCTypeParamDecl *> typeParams, in ObjCTypeParamList() argument
1516 : Brackets(lAngleLoc, rAngleLoc), NumParams(typeParams.size()) { in ObjCTypeParamList()
1517 std::copy(typeParams.begin(), typeParams.end(), begin()); in ObjCTypeParamList()
1523 ArrayRef<ObjCTypeParamDecl *> typeParams, in create() argument
1526 ctx.Allocate(totalSizeToAlloc<ObjCTypeParamDecl *>(typeParams.size()), in create()
1528 return new (mem) ObjCTypeParamList(lAngleLoc, typeParams, rAngleLoc); in create()
H A DType.cpp1770 ObjCTypeParamList *typeParams = classDecl->getTypeParamList(); in computeSuperClassTypeSlow() local
1771 if (!typeParams) { in computeSuperClassTypeSlow()
1791 assert(typeArgs.size() == typeParams->size()); in computeSuperClassTypeSlow()
H A DASTContext.cpp10453 ObjCTypeParamList *typeParams = iface->getTypeParamList(); in sameObjCTypeArgs() local
10454 if (!typeParams) in sameObjCTypeArgs()
10461 switch (typeParams->begin()[i]->getVariance()) { in sameObjCTypeArgs()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h375 void dumpObjCTypeParamList(const ObjCTypeParamList *typeParams) { in dumpObjCTypeParamList() argument
376 if (!typeParams) in dumpObjCTypeParamList()
379 for (const auto &typeParam : *typeParams) { in dumpObjCTypeParamList()
H A DDeclObjC.h666 ArrayRef<ObjCTypeParamDecl *> typeParams,
675 ArrayRef<ObjCTypeParamDecl *> typeParams,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp524 ObjCTypeParamList *typeParams = objcClass->getTypeParamList(); in applyObjCTypeArgs() local
525 if (!typeParams) { in applyObjCTypeArgs()
548 unsigned numTypeParams = typeParams->size(); in applyObjCTypeArgs()
592 typeParam = typeParams->begin()[i]; in applyObjCTypeArgs()
697 << (typeArgs.size() < typeParams->size()) << objcClass->getDeclName() in applyObjCTypeArgs()
H A DSemaDeclObjC.cpp775 typeParams( in actOnObjCTypeParamList()
784 for (auto *typeParam : typeParams) { in actOnObjCTypeParamList()
801 return ObjCTypeParamList::create(Context, lAngleLoc, typeParams, rAngleLoc); in actOnObjCTypeParamList()
1452 if (auto typeParams = baseClass->getTypeParamList()) { in actOnObjCTypeArgsOrProtocolQualifiers() local
1453 if (typeParams->size() == numProtocolsResolved) { in actOnObjCTypeArgsOrProtocolQualifiers()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp166 void AddObjCTypeParamList(ObjCTypeParamList *typeParams) { in AddObjCTypeParamList() argument
168 if (!typeParams) { in AddObjCTypeParamList()
173 Record.push_back(typeParams->size()); in AddObjCTypeParamList()
174 for (auto *typeParam : *typeParams) { in AddObjCTypeParamList()
177 Record.AddSourceLocation(typeParams->getLAngleLoc()); in AddObjCTypeParamList()
178 Record.AddSourceLocation(typeParams->getRAngleLoc()); in AddObjCTypeParamList()
H A DASTReaderDecl.cpp1220 SmallVector<ObjCTypeParamDecl *, 4> typeParams; in ReadObjCTypeParamList() local
1221 typeParams.reserve(numParams); in ReadObjCTypeParamList()
1227 typeParams.push_back(typeParam); in ReadObjCTypeParamList()
1234 typeParams, rAngleLoc); in ReadObjCTypeParamList()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp470 SmallVector<Decl *, 4> typeParams; in parseObjCTypeParamListOrProtocolRefs() local
478 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
554 getCurScope(), variance, varianceLoc, typeParams.size(), paramName, in parseObjCTypeParamListOrProtocolRefs()
557 typeParams.push_back(typeParam.get()); in parseObjCTypeParamListOrProtocolRefs()
595 getCurScope(), lAngleLoc, typeParams, rAngleLoc); in parseObjCTypeParamListOrProtocolRefs()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h256 ArrayRef<Decl *> typeParams,