Home
last modified time | relevance | path

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

/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp713 StatementMatcher HasIntLiteral = integerLiteral(); in TEST() local
714 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST()
715 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST()
716 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST()
717 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST()
721 HasIntLiteral)); // this is actually a character in TEST()
723 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST()
724 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST()
725 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp714 StatementMatcher HasIntLiteral = integerLiteral(); in TEST() local
715 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST()
716 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST()
717 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST()
718 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST()
722 HasIntLiteral)); // this is actually a character in TEST()
724 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST()
725 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST()
726 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp666 StatementMatcher HasIntLiteral = integerLiteral(); in TEST() local
667 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST()
668 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST()
669 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST()
670 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST()
674 HasIntLiteral)); // this is actually a character in TEST()
676 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST()
677 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST()
678 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp713 StatementMatcher HasIntLiteral = integerLiteral(); in TEST() local
714 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST()
715 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST()
716 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST()
717 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST()
721 HasIntLiteral)); // this is actually a character in TEST()
723 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST()
724 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST()
725 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp713 StatementMatcher HasIntLiteral = integerLiteral(); in TEST() local
714 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST()
715 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST()
716 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST()
717 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST()
721 HasIntLiteral)); // this is actually a character in TEST()
723 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST()
724 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST()
725 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp929 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
930 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
931 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
932 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
933 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
937 HasIntLiteral)); // this is actually a character in TEST_P()
939 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
940 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
941 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp926 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
927 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
928 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
929 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
930 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
934 HasIntLiteral)); // this is actually a character in TEST_P()
936 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
937 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
938 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp926 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
927 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
928 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
929 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
930 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
934 HasIntLiteral)); // this is actually a character in TEST_P()
936 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
937 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
938 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp920 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
921 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
922 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
923 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
924 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
928 HasIntLiteral)); // this is actually a character in TEST_P()
930 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
931 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
932 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp920 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
921 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
922 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
923 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
924 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
928 HasIntLiteral)); // this is actually a character in TEST_P()
930 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
931 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
932 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp926 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
927 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
928 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
929 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
930 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
934 HasIntLiteral)); // this is actually a character in TEST_P()
936 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
937 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
938 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()
/dports/lang/clang-mesa/clang-13.0.1.src/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp926 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
927 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
928 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
929 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
930 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
934 HasIntLiteral)); // this is actually a character in TEST_P()
936 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
937 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
938 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp926 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
927 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
928 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
929 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
930 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
934 HasIntLiteral)); // this is actually a character in TEST_P()
936 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
937 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
938 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp926 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
927 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
928 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
929 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
930 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
934 HasIntLiteral)); // this is actually a character in TEST_P()
936 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
937 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
938 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp926 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
927 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
928 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
929 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
930 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
934 HasIntLiteral)); // this is actually a character in TEST_P()
936 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
937 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
938 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp926 StatementMatcher HasIntLiteral = integerLiteral(); in TEST_P() local
927 EXPECT_TRUE(matches("int i = 10;", HasIntLiteral)); in TEST_P()
928 EXPECT_TRUE(matches("int i = 0x1AB;", HasIntLiteral)); in TEST_P()
929 EXPECT_TRUE(matches("int i = 10L;", HasIntLiteral)); in TEST_P()
930 EXPECT_TRUE(matches("int i = 10U;", HasIntLiteral)); in TEST_P()
934 HasIntLiteral)); // this is actually a character in TEST_P()
936 EXPECT_TRUE(notMatches("int i = 'a';", HasIntLiteral)); in TEST_P()
937 EXPECT_TRUE(notMatches("int i = 1e10;", HasIntLiteral)); in TEST_P()
938 EXPECT_TRUE(notMatches("int i = 10.0;", HasIntLiteral)); in TEST_P()