This patch contains implementation of DirectoryWatcher from github.com/apple/swift-clang
We are starting new push to upstream the index-while-building feature in clang and this is one of the dependencies.
Original author is David Farler, other contributors are Argyrios Kyrtzidis, Thomas Roughton and Alex Lorenz.
Part of this implementation was included in the review below so I am adding @tschuett and @yvvan in case they are interested.
https://reviews.llvm.org/D41407
This comment only repeats the doc comment for the class, I'd suggest to remove it here.