1 | //===----------------------------------------------------------------------===// |
---|---|
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 | #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_FILE_H |
9 | #define LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_FILE_H |
10 | |
11 | #include "llvm/ADT/StringExtras.h" |
12 | #include "llvm/Support/Error.h" |
13 | |
14 | namespace clang { |
15 | namespace doc { |
16 | |
17 | llvm::Error copyFile(llvm::StringRef FilePath, llvm::StringRef OutDirectory); |
18 | |
19 | llvm::SmallString<128> computeRelativePath(llvm::StringRef Destination, |
20 | llvm::StringRef Origin); |
21 | |
22 | } // namespace doc |
23 | } // namespace clang |
24 | |
25 | #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_FILE_H |
26 |