We extract the test infrastructure into TreeTestBase.h and split the
tests into MutationsTest.cpp and BuildTreeTest.cpp
Closed by https://reviews.llvm.org/rGd17437d2bd8e83baee96f2860276d615d216dfbc
Paths
| Differential D85897
[SyntaxTree] Split `TreeTest.cpp` ClosedPublic Authored by eduucaldas on Aug 13 2020, 5:33 AM.
Details
Summary We extract the test infrastructure into TreeTestBase.h and split the Closed by https://reviews.llvm.org/rGd17437d2bd8e83baee96f2860276d615d216dfbc
Diff Detail
Event TimelineComment Actions We can further split BuildTreeTest.cpp for instance in BuildStatementTest.cpp and BuildDeclTest.cpp, I can't see many arguments towards that though. gribozavr2 added inline comments. This revision is now accepted and ready to land.Aug 13 2020, 5:53 AM
Revision Contents
Diff 285340 clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
clang/unittests/Tooling/Syntax/CMakeLists.txt
clang/unittests/Tooling/Syntax/MutationsTest.cpp
clang/unittests/Tooling/Syntax/TreeTest.cpp
clang/unittests/Tooling/Syntax/TreeTestBase.h
|
Ditto, please use namespace clang::syntax.