26 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_FILE_H9#define LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_FILE_H10 11#include "llvm/ADT/SmallString.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 doc23} // namespace clang24 25#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_FILE_H26