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 "../Representation.h"
12#include "llvm/ADT/SmallString.h"
13#include "llvm/ADT/StringRef.h"
14
15/// Appends \p Path to \p Base and returns the appended path.
16llvm::SmallString<128> appendPathNative(llvm::StringRef Base,
17 llvm::StringRef Path);
18
19/// Appends \p Path to \p Base and returns the appended path in posix style.
20llvm::SmallString<128> appendPathPosix(llvm::StringRef Base,
21 llvm::StringRef Path);
22
23void getMustacheHtmlFiles(llvm::StringRef AssetsPath,
24 clang::doc::ClangDocContext &CDCtx);
25
26#endif
27

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