[SyntaxTree] Split `TreeTestBase` into header and source
authorEduardo Caldas <ecaldas@google.com>
Thu, 13 Aug 2020 16:10:50 +0000 (16:10 +0000)
committerEduardo Caldas <ecaldas@google.com>
Fri, 14 Aug 2020 07:29:07 +0000 (07:29 +0000)
commit2e4a20fd7062f65c06b438953de3d340df00b7a7
treec0c3379c97c5bea8f225e681ce5be481a9effd4d
parentbbe3c479a6adf0abfe5d111e9ba206daa5a1eb2b
[SyntaxTree] Split `TreeTestBase` into header and source

* Switch to using directive on source files.
* Remove unused `SyntaxTreeTest::addFile`

Differential Revision: https://reviews.llvm.org/D85913
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
clang/unittests/Tooling/Syntax/CMakeLists.txt
clang/unittests/Tooling/Syntax/MutationsTest.cpp
clang/unittests/Tooling/Syntax/TreeTestBase.cpp [new file with mode: 0644]
clang/unittests/Tooling/Syntax/TreeTestBase.h