Lines Matching refs:floatLiteral
667 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST()
673 EXPECT_TRUE(matches("double i = 5.0;", floatLiteral(equals(5.0)))); in TEST()
674 EXPECT_TRUE(matches("double i = 5.0;", floatLiteral(equals(5.0f)))); in TEST()
676 matches("double i = 5.0;", floatLiteral(equals(llvm::APFloat(5.0))))); in TEST()
679 EXPECT_TRUE(notMatches("double i = 5.0;", floatLiteral(equals(6.0)))); in TEST()
680 EXPECT_TRUE(notMatches("double i = 5.0;", floatLiteral(equals(6.0f)))); in TEST()
682 notMatches("double i = 5.0;", floatLiteral(equals(llvm::APFloat(6.0))))); in TEST()
711 has(floatLiteral(equals(1.0))), in TEST()
717 has(floatLiteral(equals(2.0))), in TEST()
718 has(floatLiteral(equals(1.0))))) in TEST()
728 has(floatLiteral( in TEST()
735 has(floatLiteral( in TEST()
742 has(floatLiteral( in TEST()