177dd8a79SJan Korous //===- DirectoryWatcher-not-implemented.cpp -------------------------------===// 277dd8a79SJan Korous // 377dd8a79SJan Korous // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 477dd8a79SJan Korous // See https://llvm.org/LICENSE.txt for license information. 577dd8a79SJan Korous // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 677dd8a79SJan Korous // 777dd8a79SJan Korous //===----------------------------------------------------------------------===// 877dd8a79SJan Korous 977dd8a79SJan Korous #include "clang/DirectoryWatcher/DirectoryWatcher.h" 1077dd8a79SJan Korous 1177dd8a79SJan Korous using namespace llvm; 1277dd8a79SJan Korous using namespace clang; 1377dd8a79SJan Korous create(StringRef Path,std::function<void (llvm::ArrayRef<DirectoryWatcher::Event>,bool)> Receiver,bool WaitForInitialSync)14*ef74924fSPuyan Lotfillvm::Expected<std::unique_ptr<DirectoryWatcher>> clang::DirectoryWatcher::create( 1577dd8a79SJan Korous StringRef Path, 1677dd8a79SJan Korous std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> Receiver, 1777dd8a79SJan Korous bool WaitForInitialSync) { 18*ef74924fSPuyan Lotfi return llvm::make_error<llvm::StringError>( 19*ef74924fSPuyan Lotfi "DirectoryWatcher is not implemented for this platform!", 20*ef74924fSPuyan Lotfi llvm::inconvertibleErrorCode()); 2177dd8a79SJan Korous } 22