[clang] DirectoryWatcher
authorJan Korous <jkorous@apple.com>
Tue, 9 Jul 2019 22:44:48 +0000 (22:44 +0000)
committerJan Korous <jkorous@apple.com>
Tue, 9 Jul 2019 22:44:48 +0000 (22:44 +0000)
commit31babea94a3ed38a140540f2252cf043dacec1f7
tree85d1a8ee37e56e763ce94a7e065cbc5faa88f2ca
parent1e9eae95afab696c7eefa04b102ca4422612c96b
[clang] DirectoryWatcher

Asynchronously monitors specified directory for changes and passes notifications to provided callback.

Dependency for index-while-building.

Differential Revision: https://reviews.llvm.org/D58418

llvm-svn: 365574
clang/include/clang/DirectoryWatcher/DirectoryWatcher.h [new file with mode: 0644]
clang/lib/CMakeLists.txt
clang/lib/DirectoryWatcher/CMakeLists.txt [new file with mode: 0644]
clang/lib/DirectoryWatcher/DirectoryScanner.cpp [new file with mode: 0644]
clang/lib/DirectoryWatcher/DirectoryScanner.h [new file with mode: 0644]
clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp [new file with mode: 0644]
clang/lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp [new file with mode: 0644]
clang/unittests/CMakeLists.txt
clang/unittests/DirectoryWatcher/CMakeLists.txt [new file with mode: 0644]
clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp [new file with mode: 0644]