diff options
author | Eduardo Caldas <ecaldas@google.com> | 2020-09-16 08:03:03 +0000 |
---|---|---|
committer | Eduardo Caldas <ecaldas@google.com> | 2020-09-22 06:47:36 +0000 |
commit | af582c9b0f3a09b6a1b5101fd30dcbcef5c188b0 (patch) | |
tree | a1a0c4d767d4d1995db01f0841a4e57f589b4e89 /llvm/lib/Support/Process.cpp | |
parent | 1dc7836aed134b4543bad6aa54f15cc0e51a627f (diff) | |
download | llvm-af582c9b0f3a09b6a1b5101fd30dcbcef5c188b0.zip llvm-af582c9b0f3a09b6a1b5101fd30dcbcef5c188b0.tar.gz llvm-af582c9b0f3a09b6a1b5101fd30dcbcef5c188b0.tar.bz2 |
[SyntaxTree] Test `findFirstLeaf` and `findLastLeaf`
* Introduce `TreeTest.cpp` to unit test `Tree.h`
* Add `generateAllTreesWithShape` to generating test cases
* Add tests for `findFirstLeaf` and `findLastLeaf`
* Fix implementations of `findFirstLeaf` and `findLastLeaf` that had
been broken when empty `Tree` were present.
Differential Revision: https://reviews.llvm.org/D87779
Diffstat (limited to 'llvm/lib/Support/Process.cpp')
0 files changed, 0 insertions, 0 deletions