Home
last modified time | relevance | path

Searched refs:Code2 (Results 1 – 6 of 6) sorted by relevance

/llvm-project/clang/unittests/Format/
H A DFormatTestJava.cpp642 constexpr StringRef Code2{"i = switch (day) {\n" in TEST_F() local
655 verifyFormat(Code2, Style); in TEST_F()
658 verifyFormat(Code2, Style); in TEST_F()
H A DFormatTest.cpp4785 const StringRef Code2{"asm(\"xyz\"\n" in TEST_F()
4793 verifyNoChange(Code2, Style); in TEST_F()
4797 verifyFormat(Code2, Code1, Style); in TEST_F()
4798 verifyNoChange(Code2, Style); in TEST_F()
4799 verifyFormat(Code2, Code3, Style); in TEST_F()
6668 constexpr StringRef Code2{"#define A \\\n" in TEST_F()
6674 verifyFormat(Code2, LastLine); in TEST_F()
6680 verifyFormat(Code2, LastLine); in TEST_F()
4778 const StringRef Code2{"asm(\"xyz\"\n" TEST_F() local
6649 constexpr StringRef Code2{"#define A \\\n" TEST_F() local
[all...]
/llvm-project/clang/unittests/AST/
H A DDataCollectionTest.cpp95 StringRef Code2) { in isStmtHashEqual() argument
100 if (!(Result = hashStmt(Hash2, StmtMatch, Code2))) in isStmtHashEqual()
H A DSourceLocationTest.cpp1028 const char *Code2 = in TEST() local
1033 EXPECT_TRUE(Verifier.match(Code2, typeLoc(loc(autoType())), Lang_CXX20)); in TEST()
1075 const char *Code2 = in TEST() local
1080 EXPECT_TRUE(Verifier.match(Code2, templateTypeParmDecl(), Lang_CXX20)); in TEST()
1122 const char *Code2 = in TEST() local
1129 EXPECT_TRUE(Verifier.match(Code2, varTemplateDecl(hasName("z")), Lang_CXX20)); in TEST()
/llvm-project/clang/unittests/Tooling/
H A DRefactoringTest.cpp519 std::string Code2 = "int x = 123;\n" in TEST_F()
527 FileID ID2 = Context.createInMemoryFile(File2, Code2); in TEST_F()
520 std::string Code2 = "int x = 123;\n" TEST_F() local
/llvm-project/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp6205 static const char Code2[] = in TEST()
6211 Code2, ForEachOverriddenInClass("B"), in TEST()
6214 Code2, ForEachOverriddenInClass("B"), in TEST()
6218 EXPECT_TRUE(notMatches(Code2, ForEachOverriddenInClass("A1"))); in TEST()
6175 static const char Code2[] = TEST() local