aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Process.cpp
diff options
context:
space:
mode:
authorEduardo Caldas <ecaldas@google.com>2020-09-16 08:03:03 +0000
committerEduardo Caldas <ecaldas@google.com>2020-09-22 06:47:36 +0000
commitaf582c9b0f3a09b6a1b5101fd30dcbcef5c188b0 (patch)
treea1a0c4d767d4d1995db01f0841a4e57f589b4e89 /llvm/lib/Support/Process.cpp
parent1dc7836aed134b4543bad6aa54f15cc0e51a627f (diff)
downloadllvm-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