12#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_GENERATOR_H
13#define LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_GENERATOR_H
16#include "llvm/Support/Error.h"
17#include "llvm/Support/Registry.h"
32 llvm::StringMap<std::unique_ptr<doc::Info>> Infos,
50llvm::Expected<std::unique_ptr<Generator>>
59extern template class Registry<clang::doc::Generator>;
virtual llvm::Error generateDocForInfo(Info *I, llvm::raw_ostream &OS, const ClangDocContext &CDCtx)=0
virtual llvm::Error generateDocs(StringRef RootDir, llvm::StringMap< std::unique_ptr< doc::Info > > Infos, const ClangDocContext &CDCtx)=0
static void addInfoToIndex(Index &Idx, const doc::Info *Info)
virtual ~Generator()=default
virtual llvm::Error createResources(ClangDocContext &CDCtx)
std::string getTagType(TagTypeKind AS)
llvm::Expected< std::unique_ptr< Generator > > findGeneratorByName(llvm::StringRef Format)
llvm::Registry< Generator > GeneratorRegistry
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
Some operations such as code completion produce a set of candidates.