Lines Matching refs:emplace_back
42 EmittedInfos.emplace_back(std::move(I.first)); in mapDecl()
44 EmittedInfos.emplace_back(std::move(I.second)); in mapDecl()
95 ExpectedB.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
104 F.Namespace.emplace_back(EmptySID, "B", InfoType::IT_namespace); in TEST()
105 F.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
107 ExpectedBWithFunction.ChildFunctions.emplace_back(std::move(F)); in TEST()
141 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
154 EConstructor.Namespace.emplace_back(EmptySID, "E", InfoType::IT_record); in TEST()
155 EConstructor.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
159 ExpectedRecordWithEConstructor.ChildFunctions.emplace_back( in TEST()
169 Method.Loc.emplace_back(0, llvm::SmallString<16>{"test.cpp"}); in TEST()
170 Method.Namespace.emplace_back(EmptySID, "E", InfoType::IT_record); in TEST()
171 Method.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
175 ExpectedRecordWithMethod.ChildFunctions.emplace_back(std::move(Method)); in TEST()
180 ExpectedF.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
192 TemplateMethod.Loc.emplace_back(0, llvm::SmallString<16>{"test.cpp"}); in TEST()
193 TemplateMethod.Namespace.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
194 TemplateMethod.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
198 ExpectedRecordWithTemplateMethod.ChildFunctions.emplace_back( in TEST()
210 SpecializedTemplateMethod.Loc.emplace_back(0, in TEST()
212 SpecializedTemplateMethod.Namespace.emplace_back(EmptySID, "F", in TEST()
214 SpecializedTemplateMethod.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
218 ExpectedTemplatedRecord.ChildFunctions.emplace_back( in TEST()
224 ExpectedG.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
243 E.Members.emplace_back("X"); in TEST()
244 E.Members.emplace_back("Y"); in TEST()
245 ExpectedNamespaceWithEnum.ChildEnums.emplace_back(std::move(E)); in TEST()
254 G.Members.emplace_back("A"); in TEST()
255 G.Members.emplace_back("B"); in TEST()
256 ExpectedNamespaceWithScopedEnum.ChildEnums.emplace_back(std::move(G)); in TEST()
266 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
269 ExpectedE.Loc.emplace_back(0, llvm::SmallString<16>{"test.cpp"}); in TEST()
279 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
283 ExpectedE.Members.emplace_back("int", "I", AccessSpecifier::AS_public); in TEST()
293 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
305 ExpectedG.Namespace.emplace_back(EmptySID, "E", InfoType::IT_record); in TEST()
306 ExpectedG.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
328 ExpectedBWithFunction.ChildFunctions.emplace_back(std::move(F)); in TEST()
342 F.Params.emplace_back("int", "I"); in TEST()
344 ExpectedBWithFunction.ChildFunctions.emplace_back(std::move(F)); in TEST()
361 ExpectedF.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
369 ExpectedG.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
373 ExpectedG.Members.emplace_back("int", "I", AccessSpecifier::AS_protected); in TEST()
378 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
380 ExpectedE.Parents.emplace_back(EmptySID, /*Name=*/"F", InfoType::IT_record, in TEST()
382 ExpectedE.VirtualParents.emplace_back( in TEST()
384 ExpectedE.Bases.emplace_back(EmptySID, /*Name=*/"F", in TEST()
390 FunctionSet.Loc.emplace_back(); in TEST()
391 FunctionSet.Params.emplace_back("int", "N"); in TEST()
392 FunctionSet.Namespace.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
393 FunctionSet.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
397 ExpectedE.Bases.back().ChildFunctions.emplace_back(std::move(FunctionSet)); in TEST()
398 ExpectedE.Bases.emplace_back(EmptySID, /*Name=*/"G", in TEST()
405 FunctionGet.Namespace.emplace_back(EmptySID, "G", InfoType::IT_record); in TEST()
406 FunctionGet.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
410 ExpectedE.Bases.back().ChildFunctions.emplace_back(std::move(FunctionGet)); in TEST()
411 ExpectedE.Bases.back().Members.emplace_back("int", "I", in TEST()
419 ExpectedH.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
423 ExpectedH.Parents.emplace_back(EmptySID, /*Name=*/"E", InfoType::IT_record, in TEST()
425 ExpectedH.VirtualParents.emplace_back( in TEST()
427 ExpectedH.Bases.emplace_back(EmptySID, /*Name=*/"E", in TEST()
430 ExpectedH.Bases.emplace_back(EmptySID, /*Name=*/"F", in TEST()
436 FunctionSetNew.Loc.emplace_back(); in TEST()
437 FunctionSetNew.Params.emplace_back("int", "N"); in TEST()
438 FunctionSetNew.Namespace.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
439 FunctionSetNew.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
443 ExpectedH.Bases.back().ChildFunctions.emplace_back(std::move(FunctionSetNew)); in TEST()
444 ExpectedH.Bases.emplace_back(EmptySID, /*Name=*/"G", in TEST()
451 FunctionGetNew.Namespace.emplace_back(EmptySID, "G", InfoType::IT_record); in TEST()
452 FunctionGetNew.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
456 ExpectedH.Bases.back().ChildFunctions.emplace_back(std::move(FunctionGetNew)); in TEST()
457 ExpectedH.Bases.back().Members.emplace_back("int", "I", in TEST()
463 ExpectedI.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
471 ExpectedJ.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
473 ExpectedJ.Parents.emplace_back(EmptySID, /*Name=*/"I<int>", in TEST()
475 ExpectedJ.Bases.emplace_back(EmptySID, /*Name=*/"I<int>", in TEST()
498 F.Loc.emplace_back(0, llvm::SmallString<16>{"test.cpp"}); in TEST()
499 F.Params.emplace_back("int", "x"); in TEST()
501 ExpectedBWithFunction.ChildFunctions.emplace_back(std::move(F)); in TEST()
509 ExportedF.Loc.emplace_back(0, llvm::SmallString<16>{"test.cpp"}); in TEST()
510 ExportedF.Params.emplace_back("double", "y"); in TEST()
512 ExpectedBWithExportedFunction.ChildFunctions.emplace_back( in TEST()
525 ExpectedParentA.ChildRecords.emplace_back(EmptySID, "A", InfoType::IT_record, in TEST()
533 ExpectedParentB.ChildRecords.emplace_back(EmptySID, "B", InfoType::IT_record, in TEST()
539 ExpectedParentC.ChildRecords.emplace_back(EmptySID, "C", InfoType::IT_record, in TEST()
552 ExpectedParentA.ChildNamespaces.emplace_back(EmptySID, "A", in TEST()
558 ExpectedParentB.ChildNamespaces.emplace_back(EmptySID, "B", in TEST()