lit: flesh out `SubsituteCaptures` further
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 3 May 2018 04:45:43 +0000 (04:45 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 3 May 2018 04:45:43 +0000 (04:45 +0000)
commitcc2da59f6920c8b4893713d768ea23242f796ad5
tree2b48ac2a3bbb360aec420d5137d21dcd00a15342
parent800508b82580fc816ec3ab75dc5cbc8f05260c0c
lit: flesh out `SubsituteCaptures` further

Add overloads for `__len__` and `__getitem__` to allow use of this class
on Linux as well as Windows.  With these overloads, lit can be used on
both hosts for the swift testsuite.

llvm-svn: 331431
llvm/utils/lit/lit/TestingConfig.py