Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers-arithmetic_test.cc263 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
264 Matcher<const Tpl&> m = FloatEq(); in TEST()
265 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
266 EXPECT_TRUE(m.Matches(Tpl(0.3f, 0.1f + 0.1f + 0.1f))); in TEST()
267 EXPECT_FALSE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
279 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
280 Matcher<const Tpl&> m = NanSensitiveFloatEq(); in TEST()
281 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
282 EXPECT_TRUE(m.Matches(Tpl(std::numeric_limits<float>::quiet_NaN(), in TEST()
284 EXPECT_FALSE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp276 if (const auto *Tpl = dyn_cast<FunctionTemplateDecl>(Rep)) in diagnoseInstanceReference() local
277 Rep = Tpl->getTemplatedDecl(); in diagnoseInstanceReference()