clang-tools 22.0.0git
File.h
Go to the documentation of this file.
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
static llvm::cl::opt< std::string > OutDirectory("output", llvm::cl::desc("Directory for outputting generated files."), llvm::cl::init("docs"), llvm::cl::cat(ClangDocCategory))
llvm::Error copyFile(llvm::StringRef FilePath, llvm::StringRef OutDirectory)
Definition File.cpp:15
llvm::SmallString< 128 > computeRelativePath(llvm::StringRef Destination, llvm::StringRef Origin)
Definition File.cpp:31
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//