clang
20.0.0git
lib
DirectoryWatcher
default
DirectoryWatcher-not-implemented.cpp
Go to the documentation of this file.
1
//===- DirectoryWatcher-not-implemented.cpp -------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#include "
clang/DirectoryWatcher/DirectoryWatcher.h
"
10
11
using namespace
llvm
;
12
using namespace
clang
;
13
14
llvm::Expected<std::unique_ptr<DirectoryWatcher>
>
clang::DirectoryWatcher::create
(
15
StringRef
Path
,
16
std::function<
void
(
llvm::ArrayRef<DirectoryWatcher::Event>
,
bool
)> Receiver,
17
bool
WaitForInitialSync) {
18
return
llvm::make_error<llvm::StringError>(
19
"DirectoryWatcher is not implemented for this platform!"
,
20
llvm::inconvertibleErrorCode());
21
}
Path
IndirectLocalPath & Path
Definition:
CheckExprLifetime.cpp:214
DirectoryWatcher.h
clang::DirectoryWatcher::create
static llvm::Expected< std::unique_ptr< DirectoryWatcher > > create(llvm::StringRef Path, std::function< void(llvm::ArrayRef< DirectoryWatcher::Event > Events, bool IsInitial)> Receiver, bool WaitForInitialSync)
llvm fatal_error if
Definition:
DirectoryWatcher-not-implemented.cpp:14
llvm::ArrayRef
Definition:
LLVM.h:31
llvm::Expected
Definition:
LLVM.h:37
clang
The JSON file list parser is used to communicate input to InstallAPI.
Definition:
CalledOnceCheck.h:17
llvm
Diagnostic wrappers for TextAPI types for error reporting.
Definition:
Dominators.h:30
Generated on Fri Nov 8 2024 10:48:29 for clang by
1.9.6