clang-tools 23.0.0git
Utils.cpp File Reference

This file contains the implementations of general utility functions used across the clang-doc tool. More...

#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)

Detailed Description

This file contains the implementations of general utility functions used across the clang-doc tool.

Definition in file Utils.cpp.

Function Documentation

◆ appendPathNative()

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

Definition at line 23 of file Utils.cpp.

◆ appendPathPosix()

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

Definition at line 30 of file Utils.cpp.

Referenced by getHtmlFiles(), and getMdFiles().

◆ getHtmlFiles()

◆ getMdFiles()

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