Searched refs:func_template (Results 1 – 4 of 4) sorted by relevance
43 T func_template() { in func_template() function47 func_template<void *, __exception_info>(); // expected-note {{instantiation of}} in inject_builtins()48 func_template<unsigned long, __exception_code>(); // expected-note {{instantiation of}} in inject_builtins()
41 template <typename Ty> void func_template();43 …func_template<int [[clang::annotate_type()]]>(); // expected-error {{'annotate_type' attribute tak… in f3()
175 void func_template(T = []{ return T(); }()); in __anon7dfaa27f1602()180 func_template<int>(); in use_func_template()
762 clang::FunctionTemplateDecl *func_template = in TEST_F() local766 EXPECT_EQ(TU, func_template->getDeclContext()); in TEST_F()767 EXPECT_EQ("foo", func_template->getName()); in TEST_F()768 EXPECT_EQ(clang::AccessSpecifier::AS_none, func_template->getAccess()); in TEST_F()794 clang::FunctionTemplateDecl *func_template = in TEST_F() local798 EXPECT_EQ(record, func_template->getDeclContext()); in TEST_F()799 EXPECT_EQ("foo", func_template->getName()); in TEST_F()800 EXPECT_EQ(clang::AccessSpecifier::AS_public, func_template->getAccess()); in TEST_F()