Home
last modified time | relevance | path

Searched refs:HasFloatLiteral (Results 1 – 16 of 16) sorted by relevance

/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp735 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST() local
736 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST()
737 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST()
738 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST()
739 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST()
740 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST()
746 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp736 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST() local
737 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST()
738 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST()
739 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST()
740 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST()
741 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST()
747 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp688 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST() local
689 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST()
690 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST()
691 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST()
692 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST()
693 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST()
699 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp735 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST() local
736 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST()
737 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST()
738 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST()
739 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST()
740 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST()
746 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp735 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST() local
736 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST()
737 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST()
738 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST()
739 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST()
740 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST()
746 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp951 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
952 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
954 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
955 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
956 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
962 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp948 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
949 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
950 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
951 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
952 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
959 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp948 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
949 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
950 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
951 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
952 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
959 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp942 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
943 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
944 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
945 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
946 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
947 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp942 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
943 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
944 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
945 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
946 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
947 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp948 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
949 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
950 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
951 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
952 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
959 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()
/dports/lang/clang-mesa/clang-13.0.1.src/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp948 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
949 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
950 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
951 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
952 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
959 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp948 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
949 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
950 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
951 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
952 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
959 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp948 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
949 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
950 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
951 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
952 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
959 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp948 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
949 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
950 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
951 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
952 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
959 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp948 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() local
949 EXPECT_TRUE(matches("float i = 10.0;", HasFloatLiteral)); in TEST_P()
950 EXPECT_TRUE(matches("float i = 10.0f;", HasFloatLiteral)); in TEST_P()
951 EXPECT_TRUE(matches("double i = 10.0;", HasFloatLiteral)); in TEST_P()
952 EXPECT_TRUE(matches("double i = 10.0L;", HasFloatLiteral)); in TEST_P()
953 EXPECT_TRUE(matches("double i = 1e10;", HasFloatLiteral)); in TEST_P()
959 EXPECT_TRUE(notMatches("float i = 10;", HasFloatLiteral)); in TEST_P()