Home
last modified time | relevance | path

Searched refs:Code1 (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DDataCollectionTest.cpp94 isStmtHashEqual(const StatementMatcher &StmtMatch, StringRef Code1, in isStmtHashEqual() argument
97 testing::AssertionResult Result = hashStmt(Hash1, StmtMatch, Code1); in isStmtHashEqual()
H A DStructuralEquivalenceTest.cpp20 std::string Code0, Code1; // Buffers for SourceManager member
27 this->Code1 = SrcCode1; in makeASTUnits()
33 AST1 = tooling::buildASTFromCodeWithArgs(Code1, Args, InputFileName); in makeASTUnits()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp5765 static const char Code1[] = "class A { virtual void f(); };" in TEST() local
5770 Code1, ForEachOverriddenInClass("C"), in TEST()
5773 Code1, ForEachOverriddenInClass("C"), in TEST()
5778 Code1, ForEachOverriddenInClass("B"), in TEST()
5781 Code1, ForEachOverriddenInClass("B"), in TEST()
5785 EXPECT_TRUE(notMatches(Code1, ForEachOverriddenInClass("A"))); in TEST()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DRefactoringTest.cpp513 std::string Code1 = "Long *a =\n" in TEST_F() local
526 FileID ID1 = Context.createInMemoryFile(File1, Code1); in TEST_F()