Home
last modified time | relevance | path

Searched refs:NumTemplateArgs (Results 1 – 21 of 21) sorted by relevance

/external/clang/lib/AST/
DTemplateBase.cpp538 NumTemplateArgs = Info.size(); in initializeFrom()
541 for (unsigned i = 0; i != NumTemplateArgs; ++i) in initializeFrom()
552 NumTemplateArgs = Info.size(); in initializeFrom()
555 for (unsigned i = 0; i != NumTemplateArgs; ++i) { in initializeFrom()
571 for (unsigned I = 0; I != NumTemplateArgs; ++I) in copyInto()
575 std::size_t ASTTemplateArgumentListInfo::sizeFor(unsigned NumTemplateArgs) { in sizeFor() argument
577 sizeof(TemplateArgumentLoc) * NumTemplateArgs; in sizeFor()
605 NumTemplateArgs = 0; in initializeFrom()
610 ASTTemplateKWAndArgsInfo::sizeFor(unsigned NumTemplateArgs) { in sizeFor() argument
614 return Base::sizeFor(NumTemplateArgs) + sizeof(SourceLocation); in sizeFor()
DExprCXX.cpp309 unsigned NumTemplateArgs) { in CreateEmpty() argument
312 size += ASTTemplateKWAndArgsInfo::sizeFor(NumTemplateArgs); in CreateEmpty()
465 unsigned NumTemplateArgs) { in CreateEmpty() argument
468 size += ASTTemplateKWAndArgsInfo::sizeFor(NumTemplateArgs); in CreateEmpty()
1262 unsigned NumTemplateArgs = TemplateArgs ? TemplateArgs->size() : 0; in Create() local
1264 + ASTTemplateKWAndArgsInfo::sizeFor(NumTemplateArgs); in Create()
1278 unsigned NumTemplateArgs) { in CreateEmpty() argument
1286 ASTTemplateKWAndArgsInfo::sizeFor(NumTemplateArgs); in CreateEmpty()
1385 unsigned NumTemplateArgs) { in CreateEmpty() argument
1388 size += ASTTemplateKWAndArgsInfo::sizeFor(NumTemplateArgs); in CreateEmpty()
DItaniumMangle.cpp341 unsigned NumTemplateArgs);
359 unsigned NumTemplateArgs);
402 unsigned NumTemplateArgs);
629 unsigned NumTemplateArgs) { in mangleName() argument
634 mangleTemplateArgs(TemplateArgs, NumTemplateArgs); in mangleName()
636 mangleNestedName(TD, TemplateArgs, NumTemplateArgs); in mangleName()
1131 unsigned NumTemplateArgs) { in mangleNestedName() argument
1137 mangleTemplateArgs(TemplateArgs, NumTemplateArgs); in mangleNestedName()
3479 for (unsigned i = 0, e = TemplateArgs.NumTemplateArgs; i != e; ++i) in mangleTemplateArgs()
3493 unsigned NumTemplateArgs) { in mangleTemplateArgs() argument
[all …]
DStmtProfile.cpp1175 S->getExplicitTemplateArgs().NumTemplateArgs); in VisitOverloadExpr()
DExpr.cpp417 unsigned NumTemplateArgs) { in CreateEmpty() argument
424 Size += ASTTemplateKWAndArgsInfo::sizeFor(NumTemplateArgs); in CreateEmpty()
/external/clang/include/clang/AST/
DTemplateBase.h575 unsigned NumTemplateArgs; member
605 static std::size_t sizeFor(unsigned NumTemplateArgs);
620 (getTemplateArgs() + NumTemplateArgs); in getTemplateKeywordLoc()
626 (getTemplateArgs() + NumTemplateArgs) = TemplateKWLoc; in setTemplateKeywordLoc()
641 static std::size_t sizeFor(unsigned NumTemplateArgs);
DExprCXX.h2460 return getExplicitTemplateArgs().NumTemplateArgs; in getNumTemplateArgs()
2560 unsigned NumTemplateArgs);
2644 unsigned NumTemplateArgs);
2729 return getExplicitTemplateArgs().NumTemplateArgs; in getNumTemplateArgs()
3026 unsigned NumTemplateArgs);
3160 return getExplicitTemplateArgs().NumTemplateArgs; in getNumTemplateArgs()
3255 unsigned NumTemplateArgs);
DDataRecursiveASTVisitor.h1651 D->getTemplateArgsAsWritten()->NumTemplateArgs));
1725 TALI->NumTemplateArgs)); in TraverseFunctionHelper()
1818 D->getTemplateArgsAsWritten()->NumTemplateArgs));
DRecursiveASTVisitor.h1690 D->getTemplateArgsAsWritten()->NumTemplateArgs)); \
1767 TALI->NumTemplateArgs)); in TraverseFunctionHelper()
DExpr.h990 unsigned NumTemplateArgs);
1139 return getExplicitTemplateArgs().NumTemplateArgs; in getNumTemplateArgs()
2535 return getExplicitTemplateArgs().NumTemplateArgs; in getNumTemplateArgs()
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp224 Inst.NumTemplateArgs = TemplateArgs.size(); in InstantiatingTemplate()
451 Active->NumTemplateArgs, in PrintInstantiationStack()
467 Active->NumTemplateArgs) in PrintInstantiationStack()
481 Active->NumTemplateArgs) in PrintInstantiationStack()
491 Active->NumTemplateArgs) in PrintInstantiationStack()
505 Active->NumTemplateArgs, in PrintInstantiationStack()
533 Active->NumTemplateArgs) in PrintInstantiationStack()
551 Active->NumTemplateArgs) in PrintInstantiationStack()
DSemaTemplateDeduction.cpp2191 if (S.Subst(PartialTemplateArgs, PartialTemplArgInfo->NumTemplateArgs, in FinishTemplateArgumentDeduction()
2355 if (S.Subst(PartialTemplateArgs, PartialTemplArgInfo->NumTemplateArgs, in FinishTemplateArgumentDeduction()
DSemaTemplateInstantiateDecl.cpp2746 TemplArgInfo->NumTemplateArgs, in InstantiateClassTemplatePartialSpecialization()
2873 TemplArgInfo->NumTemplateArgs, in InstantiateVarTemplatePartialSpecialization()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp57 for (unsigned i=0; i != Args.NumTemplateArgs; ++i) in AddTemplateKWAndArgsInfo()
350 unsigned NumTemplateArgs = E->getNumTemplateArgs(); in VisitDeclRefExpr() local
351 Record.push_back(NumTemplateArgs); in VisitDeclRefExpr()
535 unsigned NumTemplateArgs = E->getNumTemplateArgs(); in VisitMemberExpr() local
536 Record.push_back(NumTemplateArgs); in VisitMemberExpr()
539 for (unsigned i=0; i != NumTemplateArgs; ++i) in VisitMemberExpr()
1400 Record.push_back(Args.NumTemplateArgs); in VisitCXXDependentScopeMemberExpr()
1427 Record.push_back(Args.NumTemplateArgs); in VisitDependentScopeDeclRefExpr()
1458 Record.push_back(Args.NumTemplateArgs); in VisitOverloadExpr()
DASTReaderStmt.cpp96 unsigned NumTemplateArgs);
99 unsigned NumTemplateArgs);
110 unsigned NumTemplateArgs) { in ReadTemplateKWAndArgsInfo() argument
115 for (unsigned i = 0; i != NumTemplateArgs; ++i) in ReadTemplateKWAndArgsInfo()
437 unsigned NumTemplateArgs = 0; in VisitDeclRefExpr() local
439 NumTemplateArgs = Record[Idx++]; in VisitDeclRefExpr()
450 NumTemplateArgs); in VisitDeclRefExpr()
2473 unsigned NumTemplateArgs = Record[Idx++]; in ReadStmtFromStream() local
2476 for (unsigned i = 0; i != NumTemplateArgs; ++i) in ReadStmtFromStream()
DASTWriterDecl.cpp473 Record.push_back(FTSInfo->TemplateArgumentsAsWritten->NumTemplateArgs); in VisitFunctionDecl()
474 for (int i=0, e = FTSInfo->TemplateArgumentsAsWritten->NumTemplateArgs; in VisitFunctionDecl()
DASTReader.cpp7918 unsigned NumTemplateArgs = Record[Idx++]; in ReadTemplateArgumentList() local
7919 TemplArgs.reserve(NumTemplateArgs); in ReadTemplateArgumentList()
7920 while (NumTemplateArgs--) in ReadTemplateArgumentList()
DASTWriter.cpp5516 Record.push_back(ASTTemplArgList->NumTemplateArgs); in AddASTTemplateArgumentListInfo()
5518 for (int i=0, e = ASTTemplArgList->NumTemplateArgs; i != e; ++i) in AddASTTemplateArgumentListInfo()
/external/clang/tools/c-index-test/
Dc-index-test.c811 unsigned NumTemplateArgs = clang_Cursor_getNumTemplateArguments(Cursor); in PrintCursor() local
813 for (I = 0; I < NumTemplateArgs; I++) { in PrintCursor()
/external/clang/tools/libclang/
DCIndex.cpp729 for (unsigned I = 0, N = Info->NumTemplateArgs; I != N; ++I) in VisitClassTemplatePartialSpecializationDecl()
2538 *ArgEnd = Arg + ArgList->NumTemplateArgs; in RunVisitorWorkList()
/external/clang/include/clang/Sema/
DSema.h6267 unsigned NumTemplateArgs; member
6280 TemplateArgs(nullptr), NumTemplateArgs(0), DeductionInfo(nullptr) {} in ActiveTemplateInstantiation()