Home
last modified time | relevance | path

Searched refs:TypeConstraint (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseTemplate.cpp766 TemplateIdAnnotation *TypeConstraint = nullptr; in ParseTypeParameter() local
774 TypeConstraint = in ParseTypeParameter()
776 assert(TypeConstraint->Kind == TNK_Concept_template && in ParseTypeParameter()
832 TypeConstraint != nullptr); in ParseTypeParameter()
834 if (TypeConstraint) { in ParseTypeParameter()
835 Actions.ActOnTypeConstraint(TypeConstraintSS, TypeConstraint, in ParseTypeParameter()
1294 bool TypeConstraint) { in AnnotateTemplateIdToken() argument
1296 assert((Tok.is(tok::less) || TypeConstraint) && in AnnotateTemplateIdToken()
1298 assert(!(TypeConstraint && AllowTypeAnnotation) && "type-constraint can't be " in AnnotateTemplateIdToken()
1300 assert((!TypeConstraint || TNK == TNK_Concept_template) && "type-constraint " in AnnotateTemplateIdToken()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTConcept.h169 class TypeConstraint : public ConceptReference {
175 TypeConstraint(NestedNameSpecifierLoc NNS, in TypeConstraint() function
H A DExprConcepts.h323 const TypeConstraint *getTypeConstraint() const;
H A DDeclTemplate.h1175 private llvm::TrailingObjects<TemplateTypeParmDecl, TypeConstraint> {
1303 if (const TypeConstraint *TC = getTypeConstraint())
1342 const TypeConstraint *getTypeConstraint() const {
1343 return TypeConstraintInitialized ? getTrailingObjects<TypeConstraint>() :
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclTemplate.cpp72 if (const TypeConstraint *TC = TTP->getTypeConstraint()) { in TemplateParameterList()
517 if (const TypeConstraint *TC = TTP->getTypeConstraint()) in ProfileTemplateParameterList()
625 additionalSizeToAlloc<TypeConstraint>(HasTypeConstraint ? 1 : 0)) in Create()
644 additionalSizeToAlloc<TypeConstraint>(HasTypeConstraint ? 1 : 0)) in CreateDeserialized()
688 new (getTrailingObjects<TypeConstraint>()) TypeConstraint(NNS, NameInfo, in setTypeConstraint()
1456 void TypeConstraint::print(llvm::raw_ostream &OS, PrintingPolicy Policy) const { in print()
H A DExprConcepts.cpp135 const TypeConstraint *
H A DODRHash.cpp383 const TypeConstraint *TC = D->getTypeConstraint(); in VisitTemplateTypeParmDecl()
H A DDeclPrinter.cpp1734 if (const TypeConstraint *TC = TTP->getTypeConstraint()) in VisitTemplateTypeParmDecl()
H A DASTContext.cpp674 const TypeConstraint *TC = TTP->getTypeConstraint(); in Profile()
H A DASTImporter.cpp5274 if (const TypeConstraint *TC = D->getTypeConstraint()) { in VisitTemplateTypeParmDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterDecl.cpp1655 const TypeConstraint *TC = D->getTypeConstraint(); in VisitTemplateTypeParmDecl()
1683 Expr *TypeConstraint = D->getPlaceholderTypeConstraint(); in VisitNonTypeTemplateParmDecl() local
1684 Record.push_back(!!TypeConstraint); in VisitNonTypeTemplateParmDecl()
1692 if (TypeConstraint) in VisitNonTypeTemplateParmDecl()
1693 Record.AddStmt(TypeConstraint); in VisitNonTypeTemplateParmDecl()
H A DASTReaderDecl.cpp2905 const TypeConstraint *TXTC = TX->getTypeConstraint(); in isSameTemplateParameter()
2906 const TypeConstraint *TYTC = TY->getTypeConstraint(); in isSameTemplateParameter()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaConcept.cpp1066 const TypeConstraint *TC = in ReturnTypeRequirement()
H A DSemaCodeComplete.cpp4882 const TypeConstraint *ResultType = nullptr;
5028 const TypeConstraint *OuterType = nullptr;
5182 static QualType deduceType(const TypeConstraint &T) { in deduceType()
H A DSemaTemplateInstantiate.cpp2367 if (const TypeConstraint *TC = TTP->getTypeConstraint()) { in SubstParmVarDecl()
H A DSemaExprCXX.cpp8611 TemplateIdAnnotation *TypeConstraint, unsigned Depth) { in ActOnCompoundRequirement() argument
8632 if (BuildTypeConstraint(SS, TypeConstraint, TParam, in ActOnCompoundRequirement()
H A DSemaTemplateInstantiateDecl.cpp2588 if (const TypeConstraint *TC = D->getTypeConstraint()) { in VisitTemplateTypeParmDecl()
H A DSemaTemplate.cpp2614 if (const TypeConstraint *TC = TTP->getTypeConstraint()) in DiagnoseUnexpandedParameterPacks()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h3419 bool TypeConstraint = false);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h7458 TemplateIdAnnotation *TypeConstraint,
7462 TemplateIdAnnotation *TypeConstraint,
7915 TemplateIdAnnotation *TypeConstraint, unsigned Depth);