1*e5dd7070Spatrick //===- DirectoryWatcher-not-implemented.cpp -------------------------------===// 2*e5dd7070Spatrick // 3*e5dd7070Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*e5dd7070Spatrick // See https://llvm.org/LICENSE.txt for license information. 5*e5dd7070Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*e5dd7070Spatrick // 7*e5dd7070Spatrick //===----------------------------------------------------------------------===// 8*e5dd7070Spatrick 9*e5dd7070Spatrick #include "clang/DirectoryWatcher/DirectoryWatcher.h" 10*e5dd7070Spatrick 11*e5dd7070Spatrick using namespace llvm; 12*e5dd7070Spatrick using namespace clang; 13*e5dd7070Spatrick create(StringRef Path,std::function<void (llvm::ArrayRef<DirectoryWatcher::Event>,bool)> Receiver,bool WaitForInitialSync)14*e5dd7070Spatrickllvm::Expected<std::unique_ptr<DirectoryWatcher>> clang::DirectoryWatcher::create( 15*e5dd7070Spatrick StringRef Path, 16*e5dd7070Spatrick std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> Receiver, 17*e5dd7070Spatrick bool WaitForInitialSync) { 18*e5dd7070Spatrick return llvm::make_error<llvm::StringError>( 19*e5dd7070Spatrick "DirectoryWatcher is not implemented for this platform!", 20*e5dd7070Spatrick llvm::inconvertibleErrorCode()); 21*e5dd7070Spatrick } 22