Home
last modified time | relevance | path

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

/external/llvm-project/clang/unittests/AST/
DDataCollectionTest.cpp94 isStmtHashEqual(const StatementMatcher &StmtMatch, StringRef Code1, in isStmtHashEqual() argument
97 testing::AssertionResult Result = hashStmt(Hash1, StmtMatch, Code1); in isStmtHashEqual()
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()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp2016 static const char Code1[] = "class A { virtual void f(); };" in TEST() local
2021 Code1, ForEachOverriddenInClass("C"), in TEST()
2024 Code1, ForEachOverriddenInClass("C"), in TEST()
2029 Code1, ForEachOverriddenInClass("B"), in TEST()
2032 Code1, ForEachOverriddenInClass("B"), in TEST()
2036 EXPECT_TRUE(notMatches(Code1, ForEachOverriddenInClass("A"))); in TEST()
/external/clang/unittests/Tooling/
DRefactoringTest.cpp172 std::string Code1 = "Long *a =\n" in TEST_F() local
183 FileID ID1 = Context.createInMemoryFile("format_1.cpp", Code1); in TEST_F()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp4094 static const char Code1[] = "class A { virtual void f(); };" in TEST() local
4099 Code1, ForEachOverriddenInClass("C"), in TEST()
4102 Code1, ForEachOverriddenInClass("C"), in TEST()
4107 Code1, ForEachOverriddenInClass("B"), in TEST()
4110 Code1, ForEachOverriddenInClass("B"), in TEST()
4114 EXPECT_TRUE(notMatches(Code1, ForEachOverriddenInClass("A"))); in TEST()
/external/llvm-project/clang/unittests/Tooling/
DRefactoringTest.cpp513 std::string Code1 = "Long *a =\n" in TEST_F() local
526 FileID ID1 = Context.createInMemoryFile(File1, Code1); in TEST_F()