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.cc260 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
261 Matcher<const Tpl&> m = FloatEq(); in TEST()
262 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
263 EXPECT_TRUE(m.Matches(Tpl(0.3f, 0.1f + 0.1f + 0.1f))); in TEST()
264 EXPECT_FALSE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
276 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
277 Matcher<const Tpl&> m = NanSensitiveFloatEq(); in TEST()
278 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
279 EXPECT_TRUE(m.Matches(Tpl(std::numeric_limits<float>::quiet_NaN(), in TEST()
281 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()