clang-tools 23.0.0git
Utils.cpp File Reference
#include "Utils.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"

Go to the source code of this file.

Functions

SmallString< 128 > appendPathNative (StringRef Base, StringRef Path)
SmallString< 128 > appendPathPosix (StringRef Base, StringRef Path)
void getHtmlFiles (StringRef AssetsPath, clang::doc::ClangDocContext &CDCtx)
void getMdFiles (llvm::StringRef AssetsPath, clang::doc::ClangDocContext &CDCtx)

Function Documentation

◆ appendPathNative()

SmallString< 128 > appendPathNative ( StringRef Base,
StringRef Path )

Definition at line 17 of file Utils.cpp.

◆ appendPathPosix()

SmallString< 128 > appendPathPosix ( StringRef Base,
StringRef Path )

Definition at line 24 of file Utils.cpp.

Referenced by getHtmlFiles(), and getMdFiles().

◆ getHtmlFiles()

◆ getMdFiles()

void getMdFiles ( llvm::StringRef AssetsPath,
clang::doc::ClangDocContext & CDCtx )

Definition at line 81 of file Utils.cpp.

References appendPathPosix(), and clang::doc::ClangDocContext::MustacheTemplates.