Home
last modified time | relevance | path

Searched refs:TemplateMethod (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/unittests/clang-doc/
H A DSerializeTest.cpp188 FunctionInfo TemplateMethod; in TEST() local
189 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()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp403 FunctionTemplateDecl *const TemplateMethod = TemplateParams ? in startLambdaDefinition() local
408 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()