Searched refs:Tpl (Results 1 – 2 of 2) sorted by relevance
263 typedef ::std::tuple<float, float> Tpl; in TEST() typedef264 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() typedef280 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 …]
276 if (const auto *Tpl = dyn_cast<FunctionTemplateDecl>(Rep)) in diagnoseInstanceReference() local277 Rep = Tpl->getTemplatedDecl(); in diagnoseInstanceReference()