Home
last modified time | relevance | path

Searched refs:TestAST (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Testing/
H A DTestAST.h61 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 DTestAST.cpp75 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 DCMakeLists.txt9 TestAST.cpp
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DFixItTest.cpp31 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 DStandardLibraryTest.cpp27 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 DBUILD.gn12 "TestAST.cpp",
/llvm-project-15.0.7/clang-tools-extra/include-cleaner/unittests/
H A DWalkASTTest.cpp28 TestAST AST(Inputs); in testWalk()