/external/clang/lib/AST/ |
D | TemplateBase.cpp | 538 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()
|
D | ExprCXX.cpp | 309 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()
|
D | ItaniumMangle.cpp | 341 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 …]
|
D | StmtProfile.cpp | 1175 S->getExplicitTemplateArgs().NumTemplateArgs); in VisitOverloadExpr()
|
D | Expr.cpp | 417 unsigned NumTemplateArgs) { in CreateEmpty() argument 424 Size += ASTTemplateKWAndArgsInfo::sizeFor(NumTemplateArgs); in CreateEmpty()
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 575 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);
|
D | ExprCXX.h | 2460 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);
|
D | DataRecursiveASTVisitor.h | 1651 D->getTemplateArgsAsWritten()->NumTemplateArgs)); 1725 TALI->NumTemplateArgs)); in TraverseFunctionHelper() 1818 D->getTemplateArgsAsWritten()->NumTemplateArgs));
|
D | RecursiveASTVisitor.h | 1690 D->getTemplateArgsAsWritten()->NumTemplateArgs)); \ 1767 TALI->NumTemplateArgs)); in TraverseFunctionHelper()
|
D | Expr.h | 990 unsigned NumTemplateArgs); 1139 return getExplicitTemplateArgs().NumTemplateArgs; in getNumTemplateArgs() 2535 return getExplicitTemplateArgs().NumTemplateArgs; in getNumTemplateArgs()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 224 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()
|
D | SemaTemplateDeduction.cpp | 2191 if (S.Subst(PartialTemplateArgs, PartialTemplArgInfo->NumTemplateArgs, in FinishTemplateArgumentDeduction() 2355 if (S.Subst(PartialTemplateArgs, PartialTemplArgInfo->NumTemplateArgs, in FinishTemplateArgumentDeduction()
|
D | SemaTemplateInstantiateDecl.cpp | 2746 TemplArgInfo->NumTemplateArgs, in InstantiateClassTemplatePartialSpecialization() 2873 TemplArgInfo->NumTemplateArgs, in InstantiateVarTemplatePartialSpecialization()
|
/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 57 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()
|
D | ASTReaderStmt.cpp | 96 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()
|
D | ASTWriterDecl.cpp | 473 Record.push_back(FTSInfo->TemplateArgumentsAsWritten->NumTemplateArgs); in VisitFunctionDecl() 474 for (int i=0, e = FTSInfo->TemplateArgumentsAsWritten->NumTemplateArgs; in VisitFunctionDecl()
|
D | ASTReader.cpp | 7918 unsigned NumTemplateArgs = Record[Idx++]; in ReadTemplateArgumentList() local 7919 TemplArgs.reserve(NumTemplateArgs); in ReadTemplateArgumentList() 7920 while (NumTemplateArgs--) in ReadTemplateArgumentList()
|
D | ASTWriter.cpp | 5516 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/ |
D | c-index-test.c | 811 unsigned NumTemplateArgs = clang_Cursor_getNumTemplateArguments(Cursor); in PrintCursor() local 813 for (I = 0; I < NumTemplateArgs; I++) { in PrintCursor()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 729 for (unsigned I = 0, N = Info->NumTemplateArgs; I != N; ++I) in VisitClassTemplatePartialSpecializationDecl() 2538 *ArgEnd = Arg + ArgList->NumTemplateArgs; in RunVisitorWorkList()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 6267 unsigned NumTemplateArgs; member 6280 TemplateArgs(nullptr), NumTemplateArgs(0), DeductionInfo(nullptr) {} in ActiveTemplateInstantiation()
|