Home
last modified time | relevance | path

Searched refs:SpecInfo (Results 1 – 7 of 7) sorted by relevance

/external/clang/tools/libclang/
DCXCursor.cpp1154 const FunctionTemplateSpecializationInfo* SpecInfo = in clang_Cursor_getNumTemplateArguments() local
1156 if (!SpecInfo) { in clang_Cursor_getNumTemplateArguments()
1160 return SpecInfo->TemplateArguments->size(); in clang_Cursor_getNumTemplateArguments()
1192 const FunctionTemplateSpecializationInfo* SpecInfo = in clang_Cursor_getTemplateArgument() local
1194 if (!SpecInfo) { in clang_Cursor_getTemplateArgument()
1198 if (I >= SpecInfo->TemplateArguments->size()) { in clang_Cursor_getTemplateArgument()
1202 *TA = SpecInfo->TemplateArguments->get(I); in clang_Cursor_getTemplateArgument()
/external/llvm-project/clang/tools/libclang/
DCXCursor.cpp1308 const FunctionTemplateSpecializationInfo *SpecInfo = in clang_Cursor_getNumTemplateArguments() local
1310 if (!SpecInfo) { in clang_Cursor_getNumTemplateArguments()
1314 return SpecInfo->TemplateArguments->size(); in clang_Cursor_getNumTemplateArguments()
1346 const FunctionTemplateSpecializationInfo *SpecInfo = in clang_Cursor_getTemplateArgument() local
1348 if (!SpecInfo) { in clang_Cursor_getTemplateArgument()
1352 if (I >= SpecInfo->TemplateArguments->size()) { in clang_Cursor_getTemplateArgument()
1356 *TA = SpecInfo->TemplateArguments->get(I); in clang_Cursor_getTemplateArgument()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp920 } else if (MemberSpecializationInfo *SpecInfo in VisitVarDecl() local
923 Record.AddDeclRef(SpecInfo->getInstantiatedFrom()); in VisitVarDecl()
924 Record.push_back(SpecInfo->getTemplateSpecializationKind()); in VisitVarDecl()
925 Record.AddSourceLocation(SpecInfo->getPointOfInstantiation()); in VisitVarDecl()
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp1044 } else if (MemberSpecializationInfo *SpecInfo in VisitVarDecl() local
1047 Record.AddDeclRef(SpecInfo->getInstantiatedFrom()); in VisitVarDecl()
1048 Record.push_back(SpecInfo->getTemplateSpecializationKind()); in VisitVarDecl()
1049 Record.AddSourceLocation(SpecInfo->getPointOfInstantiation()); in VisitVarDecl()
/external/clang/lib/Sema/
DSemaTemplate.cpp6957 FunctionTemplateSpecializationInfo *SpecInfo in CheckFunctionTemplateSpecialization() local
6959 assert(SpecInfo && "Function template specialization info missing?"); in CheckFunctionTemplateSpecialization()
6963 TemplateSpecializationKind TSK = SpecInfo->getTemplateSpecializationKind(); in CheckFunctionTemplateSpecialization()
6998 SpecInfo->getTemplateSpecializationKind(), in CheckFunctionTemplateSpecialization()
6999 SpecInfo->getPointOfInstantiation(), in CheckFunctionTemplateSpecialization()
7014 if (Specialization->isDeleted() && !SpecInfo->isExplicitSpecialization() && in CheckFunctionTemplateSpecialization()
7021 SpecInfo->setTemplateSpecializationKind(TSK_ExplicitSpecialization); in CheckFunctionTemplateSpecialization()
7033 SpecInfo->getTemplateSpecializationKind(), in CheckFunctionTemplateSpecialization()
DSemaExpr.cpp13072 if (FunctionTemplateSpecializationInfo *SpecInfo in MarkFunctionReferenced() local
13074 if (SpecInfo->getPointOfInstantiation().isInvalid()) in MarkFunctionReferenced()
13075 SpecInfo->setPointOfInstantiation(Loc); in MarkFunctionReferenced()
13076 else if (SpecInfo->getTemplateSpecializationKind() in MarkFunctionReferenced()
13079 PointOfInstantiation = SpecInfo->getPointOfInstantiation(); in MarkFunctionReferenced()
/external/llvm-project/clang/lib/Sema/
DSemaTemplate.cpp9086 FunctionTemplateSpecializationInfo *SpecInfo in CheckFunctionTemplateSpecialization() local
9088 assert(SpecInfo && "Function template specialization info missing?"); in CheckFunctionTemplateSpecialization()
9092 TemplateSpecializationKind TSK = SpecInfo->getTemplateSpecializationKind(); in CheckFunctionTemplateSpecialization()
9131 SpecInfo->getTemplateSpecializationKind(), in CheckFunctionTemplateSpecialization()
9132 SpecInfo->getPointOfInstantiation(), in CheckFunctionTemplateSpecialization()
9147 if (Specialization->isDeleted() && !SpecInfo->isExplicitSpecialization() && in CheckFunctionTemplateSpecialization()
9157 SpecInfo->setTemplateSpecializationKind(TSK_ExplicitSpecialization); in CheckFunctionTemplateSpecialization()
9169 SpecInfo->getTemplateSpecializationKind(), in CheckFunctionTemplateSpecialization()