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
14namespace clang {
15namespace doc {
16
17llvm::Error copyFile(llvm::StringRef FilePath, llvm::StringRef OutDirectory);
18
19llvm::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

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of clang-tools-extra/clang-doc/support/File.h