clang-tools
22.0.0git
llvm-project
clang-tools-extra
clang-doc
support
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
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
OutDirectory
static llvm::cl::opt< std::string > OutDirectory("output", llvm::cl::desc("Directory for outputting generated files."), llvm::cl::init("docs"), llvm::cl::cat(ClangDocCategory))
clang::doc
Definition
BitcodeReader.cpp:17
clang::doc::copyFile
llvm::Error copyFile(llvm::StringRef FilePath, llvm::StringRef OutDirectory)
Definition
File.cpp:15
clang::doc::computeRelativePath
llvm::SmallString< 128 > computeRelativePath(llvm::StringRef Destination, llvm::StringRef Origin)
Definition
File.cpp:31
clang
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
Definition
ApplyReplacements.h:27
Generated on
for clang-tools by
1.14.0