Searched refs:TemplateMethod (Results 1 – 2 of 2) sorted by relevance
188 FunctionInfo TemplateMethod; in TEST() local189 TemplateMethod.Name = "TemplateMethod"; in TEST()190 TemplateMethod.Parent = Reference(EmptySID, "F", InfoType::IT_record); in TEST()191 TemplateMethod.ReturnType = TypeInfo(EmptySID, "void", InfoType::IT_default); 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()196 TemplateMethod.Access = AccessSpecifier::AS_public; in TEST()197 TemplateMethod.IsMethod = true; in TEST()199 std::move(TemplateMethod)); in TEST()
403 FunctionTemplateDecl *const TemplateMethod = TemplateParams ? in startLambdaDefinition() local408 if (TemplateMethod) { in startLambdaDefinition()409 TemplateMethod->setAccess(AS_public); in startLambdaDefinition()410 Method->setDescribedFunctionTemplate(TemplateMethod); in startLambdaDefinition()411 Class->addDecl(TemplateMethod); in startLambdaDefinition()412 TemplateMethod->setLexicalDeclContext(CurContext); in startLambdaDefinition()