[clang][DirectoryWatcher] Fix Windows stub after LLVM change
authorJan Korous <jkorous@apple.com>
Tue, 13 Aug 2019 22:39:50 +0000 (22:39 +0000)
committerJan Korous <jkorous@apple.com>
Tue, 13 Aug 2019 22:39:50 +0000 (22:39 +0000)
commit9a13852eaba3d6a011009e762a9554112ab7266a
tree139ef014108c7fd090601bdb3e3faf80936d4027
parentb724f3d4b33c4a5966f5feeeb7b2917e25fc9692
[clang][DirectoryWatcher] Fix Windows stub after LLVM change

r367979 changed DirectoryWatcher::Create to return an llvm::Expected.
Adjust the Windows stub accordingly.

(upstreamed from github.com/apple/swift-clang)

llvm-svn: 368762
clang/lib/DirectoryWatcher/windows/DirectoryWatcher-windows.cpp