Searched refs:TestAST (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang/include/clang/Testing/ |
| H A D | TestAST.h | 61 class TestAST { 68 TestAST(const TestInputs &); 69 TestAST(StringRef Code) : TestAST(TestInputs(Code)) {} in TestAST() function 70 TestAST(TestAST &&M); 71 TestAST &operator=(TestAST &&); 72 ~TestAST();
|
| /llvm-project-15.0.7/clang/lib/Testing/ |
| H A D | TestAST.cpp | 75 TestAST::TestAST(const TestInputs &In) { in TestAST() function in clang::TestAST 136 void TestAST::clear() { in clear() 150 TestAST &TestAST::operator=(TestAST &&M) { in operator =() 158 TestAST::TestAST(TestAST &&M) { *this = std::move(M); } in TestAST() function in clang::TestAST 160 TestAST::~TestAST() { clear(); } in ~TestAST()
|
| H A D | CMakeLists.txt | 9 TestAST.cpp
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | FixItTest.cpp | 31 TestAST AST("void foo(int x, int y) { foo(x, y); }"); in TEST() 38 AST = TestAST("#define APPLY(f, x, y) f(x, y)\n" in TEST() 45 TestAST AST("#define F foo(\n" in TEST() 53 AST = TestAST("#define FOO(x, y) (void)x; (void)y; foo(x, y);\n" in TEST() 62 TestAST AST("void foo(int x, int y) { foo(x, y); }"); in TEST() 80 AST = TestAST("void foo(int x, int y) { foo(x + y, y + x); }"); in TEST() 90 TestAST AST("#define FOO foo(1, 1)\n" in TEST() 114 AST = TestAST("#define FOO(x, y) (void)x; (void)y; foo(x, y);\n" in TEST() 137 TestAST AST(Code); in TEST() 157 TestAST AST("#define FOO foo(1, 1)\n" in TEST() [all …]
|
| H A D | StandardLibraryTest.cpp | 27 const NamedDecl &lookup(TestAST &AST, llvm::StringRef Name) { in lookup() 52 TestAST AST(R"cpp( in TEST()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Testing/ |
| H A D | BUILD.gn | 12 "TestAST.cpp",
|
| /llvm-project-15.0.7/clang-tools-extra/include-cleaner/unittests/ |
| H A D | WalkASTTest.cpp | 28 TestAST AST(Inputs); in testWalk()
|