clang-tools 20.0.0git
Classes | Namespaces | Functions
MDGenerator.cpp File Reference
#include "Generators.h"
#include "Representation.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include <string>

Go to the source code of this file.

Classes

class  clang::doc::MDGenerator
 Generator for Markdown documentation. More...
 

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::doc
 

Functions

static std::string clang::doc::genItalic (const Twine &Text)
 
static std::string clang::doc::genEmphasis (const Twine &Text)
 
static std::string clang::doc::genReferenceList (const llvm::SmallVectorImpl< Reference > &Refs)
 
static void clang::doc::writeLine (const Twine &Text, raw_ostream &OS)
 
static void clang::doc::writeNewLine (raw_ostream &OS)
 
static void clang::doc::writeHeader (const Twine &Text, unsigned int Num, raw_ostream &OS)
 
static void clang::doc::writeFileDefinition (const ClangDocContext &CDCtx, const Location &L, raw_ostream &OS)
 
static void clang::doc::writeDescription (const CommentInfo &I, raw_ostream &OS)
 
static void clang::doc::writeNameLink (const StringRef &CurrentPath, const Reference &R, llvm::raw_ostream &OS)
 
static void clang::doc::genMarkdown (const ClangDocContext &CDCtx, const EnumInfo &I, llvm::raw_ostream &OS)
 
static void clang::doc::genMarkdown (const ClangDocContext &CDCtx, const FunctionInfo &I, llvm::raw_ostream &OS)
 
static void clang::doc::genMarkdown (const ClangDocContext &CDCtx, const NamespaceInfo &I, llvm::raw_ostream &OS)
 
static void clang::doc::genMarkdown (const ClangDocContext &CDCtx, const RecordInfo &I, llvm::raw_ostream &OS)
 
static void clang::doc::genMarkdown (const ClangDocContext &CDCtx, const TypedefInfo &I, llvm::raw_ostream &OS)
 
static void clang::doc::serializeReference (llvm::raw_fd_ostream &OS, Index &I, int Level)
 
static llvm::Error clang::doc::serializeIndex (ClangDocContext &CDCtx)
 
static llvm::Error clang::doc::genIndex (ClangDocContext &CDCtx)
 
static GeneratorRegistry::Add< MDGenerator > clang::doc::MD (MDGenerator::Format, "Generator for MD output.")