clang-tools
15.0.0git
|
Namespaces | |
serialize | |
Classes | |
struct | BaseRecordInfo |
struct | BitCodeConstants |
struct | BlockIdToIndexFunctor |
class | ClangDocBitcodeReader |
class | ClangDocBitcodeWriter |
struct | ClangDocContext |
struct | CommentInfo |
struct | EnumInfo |
struct | FieldTypeInfo |
struct | FunctionInfo |
class | Generator |
class | HTMLGenerator |
Generator for HTML documentation. More... | |
struct | Index |
struct | Info |
A base struct for Infos. More... | |
struct | Location |
class | MapASTVisitor |
class | MapperActionFactory |
class | MDGenerator |
Generator for Markdown documentation. More... | |
struct | MemberTypeInfo |
struct | NamespaceInfo |
struct | RecordIdDsc |
struct | RecordIdToIndexFunctor |
struct | RecordInfo |
struct | Reference |
struct | SymbolInfo |
struct | TypeInfo |
class | YAMLGenerator |
Generator for YAML documentation. More... | |
Typedefs | |
using | Record = llvm::SmallVector< uint64_t, 1024 > |
using | AbbrevDsc = void(*)(std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev) |
typedef llvm::Registry< Generator > | GeneratorRegistry |
using | SymbolID = std::array< uint8_t, 20 > |
Functions | |
llvm::Error | decodeRecord (const Record &R, llvm::SmallVectorImpl< char > &Field, llvm::StringRef Blob) |
llvm::Error | decodeRecord (const Record &R, SymbolID &Field, llvm::StringRef Blob) |
llvm::Error | decodeRecord (const Record &R, bool &Field, llvm::StringRef Blob) |
llvm::Error | decodeRecord (const Record &R, int &Field, llvm::StringRef Blob) |
llvm::Error | decodeRecord (const Record &R, AccessSpecifier &Field, llvm::StringRef Blob) |
llvm::Error | decodeRecord (const Record &R, TagTypeKind &Field, llvm::StringRef Blob) |
llvm::Error | decodeRecord (const Record &R, llvm::Optional< Location > &Field, llvm::StringRef Blob) |
llvm::Error | decodeRecord (const Record &R, InfoType &Field, llvm::StringRef Blob) |
llvm::Error | decodeRecord (const Record &R, FieldId &Field, llvm::StringRef Blob) |
llvm::Error | decodeRecord (const Record &R, llvm::SmallVectorImpl< llvm::SmallString< 16 >> &Field, llvm::StringRef Blob) |
llvm::Error | decodeRecord (const Record &R, llvm::SmallVectorImpl< Location > &Field, llvm::StringRef Blob) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, const unsigned VersionNo) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, NamespaceInfo *I) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, RecordInfo *I) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, BaseRecordInfo *I) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, EnumInfo *I) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, FunctionInfo *I) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TypeInfo *I) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, FieldTypeInfo *I) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, MemberTypeInfo *I) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, CommentInfo *I) |
llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, Reference *I, FieldId &F) |
template<typename T > | |
llvm::Expected< CommentInfo * > | getCommentInfo (T I) |
template<> | |
llvm::Expected< CommentInfo * > | getCommentInfo (FunctionInfo *I) |
template<> | |
llvm::Expected< CommentInfo * > | getCommentInfo (NamespaceInfo *I) |
template<> | |
llvm::Expected< CommentInfo * > | getCommentInfo (RecordInfo *I) |
template<> | |
llvm::Expected< CommentInfo * > | getCommentInfo (EnumInfo *I) |
template<> | |
llvm::Expected< CommentInfo * > | getCommentInfo (CommentInfo *I) |
template<> | |
llvm::Expected< CommentInfo * > | getCommentInfo (std::unique_ptr< CommentInfo > &I) |
template<typename T , typename TTypeInfo > | |
llvm::Error | addTypeInfo (T I, TTypeInfo &&TI) |
template<> | |
llvm::Error | addTypeInfo (RecordInfo *I, MemberTypeInfo &&T) |
template<> | |
llvm::Error | addTypeInfo (BaseRecordInfo *I, MemberTypeInfo &&T) |
template<> | |
llvm::Error | addTypeInfo (FunctionInfo *I, TypeInfo &&T) |
template<> | |
llvm::Error | addTypeInfo (FunctionInfo *I, FieldTypeInfo &&T) |
template<typename T > | |
llvm::Error | addReference (T I, Reference &&R, FieldId F) |
template<> | |
llvm::Error | addReference (TypeInfo *I, Reference &&R, FieldId F) |
template<> | |
llvm::Error | addReference (FieldTypeInfo *I, Reference &&R, FieldId F) |
template<> | |
llvm::Error | addReference (MemberTypeInfo *I, Reference &&R, FieldId F) |
template<> | |
llvm::Error | addReference (EnumInfo *I, Reference &&R, FieldId F) |
template<> | |
llvm::Error | addReference (NamespaceInfo *I, Reference &&R, FieldId F) |
template<> | |
llvm::Error | addReference (FunctionInfo *I, Reference &&R, FieldId F) |
template<> | |
llvm::Error | addReference (RecordInfo *I, Reference &&R, FieldId F) |
template<typename T , typename ChildInfoType > | |
void | addChild (T I, ChildInfoType &&R) |
template<> | |
void | addChild (NamespaceInfo *I, FunctionInfo &&R) |
template<> | |
void | addChild (NamespaceInfo *I, EnumInfo &&R) |
template<> | |
void | addChild (RecordInfo *I, FunctionInfo &&R) |
template<> | |
void | addChild (RecordInfo *I, EnumInfo &&R) |
template<> | |
void | addChild (RecordInfo *I, BaseRecordInfo &&R) |
template<> | |
void | addChild (BaseRecordInfo *I, FunctionInfo &&R) |
static void | AbbrevGen (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev, const std::initializer_list< llvm::BitCodeAbbrevOp > Ops) |
static void | BoolAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev) |
static void | IntAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev) |
static void | SymbolIDAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev) |
static void | StringAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev) |
static void | LocationAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev) |
std::unique_ptr< tooling::FrontendActionFactory > | newMapperActionFactory (ClangDocContext CDCtx) |
llvm::Expected< std::unique_ptr< Generator > > | findGeneratorByName (llvm::StringRef Format) |
std::string | getTagType (TagTypeKind AS) |
template<typename Derived , typename Base , typename = std::enable_if<std::is_base_of<Derived, Base>::value>> | |
static void | AppendVector (std::vector< Derived > &&New, std::vector< Base > &Original) |
static SmallString< 128 > | computeRelativePath (StringRef Destination, StringRef Origin) |
static std::vector< std::unique_ptr< TagNode > > | genStylesheetsHTML (StringRef InfoPath, const ClangDocContext &CDCtx) |
static std::vector< std::unique_ptr< TagNode > > | genJsScriptsHTML (StringRef InfoPath, const ClangDocContext &CDCtx) |
static std::unique_ptr< TagNode > | genLink (const Twine &Text, const Twine &Link) |
static std::unique_ptr< HTMLNode > | genReference (const Reference &Type, StringRef CurrentDirectory, llvm::Optional< StringRef > JumpToSection=None) |
static std::vector< std::unique_ptr< HTMLNode > > | genReferenceList (const llvm::SmallVectorImpl< Reference > &Refs, const StringRef &CurrentDirectory) |
static std::vector< std::unique_ptr< TagNode > > | genHTML (const EnumInfo &I, const ClangDocContext &CDCtx) |
static std::vector< std::unique_ptr< TagNode > > | genHTML (const FunctionInfo &I, const ClangDocContext &CDCtx, StringRef ParentInfoDir) |
static std::vector< std::unique_ptr< TagNode > > | genEnumsBlock (const std::vector< EnumInfo > &Enums, const ClangDocContext &CDCtx) |
static std::unique_ptr< TagNode > | genEnumMembersBlock (const llvm::SmallVector< SmallString< 16 >, 4 > &Members) |
static std::vector< std::unique_ptr< TagNode > > | genFunctionsBlock (const std::vector< FunctionInfo > &Functions, const ClangDocContext &CDCtx, StringRef ParentInfoDir) |
static std::vector< std::unique_ptr< TagNode > > | genRecordMembersBlock (const llvm::SmallVector< MemberTypeInfo, 4 > &Members, StringRef ParentInfoDir) |
static std::vector< std::unique_ptr< TagNode > > | genReferencesBlock (const std::vector< Reference > &References, llvm::StringRef Title, StringRef ParentPath) |
static std::unique_ptr< TagNode > | writeFileDefinition (const Location &L, llvm::Optional< StringRef > RepositoryUrl=None) |
static std::vector< std::unique_ptr< TagNode > > | genHTML (const Index &Index, StringRef InfoPath, bool IsOutermostList) |
static std::vector< std::unique_ptr< TagNode > > | genFileHeadNodes (StringRef Title, StringRef InfoPath, const ClangDocContext &CDCtx) |
static std::unique_ptr< TagNode > | genFileHeaderNode (StringRef ProjectName) |
static std::unique_ptr< TagNode > | genInfoFileMainNode (StringRef InfoPath, std::vector< std::unique_ptr< TagNode >> &MainContentInnerNodes, const Index &InfoIndex) |
static std::unique_ptr< TagNode > | genFileFooterNode () |
static HTMLFile | genInfoFile (StringRef Title, StringRef InfoPath, std::vector< std::unique_ptr< TagNode >> &MainContentNodes, const Index &InfoIndex, const ClangDocContext &CDCtx) |
template<typename T , typename = std::enable_if<std::is_base_of<T, Info>::value>> | |
static Index | genInfoIndexItem (const std::vector< T > &Infos, StringRef Title) |
static std::unique_ptr< HTMLNode > | genHTML (const CommentInfo &I) |
static std::unique_ptr< TagNode > | genHTML (const std::vector< CommentInfo > &C) |
static std::vector< std::unique_ptr< TagNode > > | genHTML (const NamespaceInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx, std::string &InfoTitle) |
static std::vector< std::unique_ptr< TagNode > > | genHTML (const RecordInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx, std::string &InfoTitle) |
static std::string | getRefType (InfoType IT) |
static llvm::Error | SerializeIndex (ClangDocContext &CDCtx) |
static std::unique_ptr< TagNode > | genIndexFileMainNode () |
static llvm::Error | GenIndex (const ClangDocContext &CDCtx) |
static llvm::Error | CopyFile (StringRef FilePath, StringRef OutDirectory) |
static GeneratorRegistry::Add< HTMLGenerator > | HTML (HTMLGenerator::Format, "Generator for HTML output.") |
static std::string | genItalic (const Twine &Text) |
static std::string | genEmphasis (const Twine &Text) |
static std::string | genReferenceList (const llvm::SmallVectorImpl< Reference > &Refs) |
static void | writeLine (const Twine &Text, raw_ostream &OS) |
static void | writeNewLine (raw_ostream &OS) |
static void | writeHeader (const Twine &Text, unsigned int Num, raw_ostream &OS) |
static void | writeFileDefinition (const ClangDocContext &CDCtx, const Location &L, raw_ostream &OS) |
static void | writeDescription (const CommentInfo &I, raw_ostream &OS) |
static void | writeNameLink (const StringRef &CurrentPath, const Reference &R, llvm::raw_ostream &OS) |
static void | genMarkdown (const ClangDocContext &CDCtx, const EnumInfo &I, llvm::raw_ostream &OS) |
static void | genMarkdown (const ClangDocContext &CDCtx, const FunctionInfo &I, llvm::raw_ostream &OS) |
static void | genMarkdown (const ClangDocContext &CDCtx, const NamespaceInfo &I, llvm::raw_ostream &OS) |
static void | genMarkdown (const ClangDocContext &CDCtx, const RecordInfo &I, llvm::raw_ostream &OS) |
static void | serializeReference (llvm::raw_fd_ostream &OS, Index &I, int Level) |
static llvm::Error | serializeIndex (ClangDocContext &CDCtx) |
static llvm::Error | genIndex (ClangDocContext &CDCtx) |
static GeneratorRegistry::Add< MDGenerator > | MD (MDGenerator::Format, "Generator for MD output.") |
llvm::Expected< std::unique_ptr< Info > > | mergeInfos (std::vector< std::unique_ptr< Info >> &Values) |
static llvm::SmallString< 64 > | calculateRelativeFilePath (const InfoType &Type, const StringRef &Path, const StringRef &Name, const StringRef &CurrentPath) |
static GeneratorRegistry::Add< YAMLGenerator > | YAML (YAMLGenerator::Format, "Generator for YAML output.") |
Variables | |
static const SymbolID | EmptySID = SymbolID() |
static const llvm::IndexedMap< llvm::StringRef, BlockIdToIndexFunctor > | BlockIdNameMap |
static const llvm::IndexedMap< RecordIdDsc, RecordIdToIndexFunctor > | RecordIdNameMap |
static const std::vector< std::pair< BlockId, std::vector< RecordId > > > | RecordsByBlock |
static const unsigned | VersionNumber = 3 |
static constexpr unsigned | BlockIdCount = BI_LAST - BI_FIRST |
static constexpr unsigned | RecordIdCount = RI_LAST - RI_FIRST |
volatile int | YAMLGeneratorAnchorSource = 0 |
volatile int | MDGeneratorAnchorSource = 0 |
volatile int | HTMLGeneratorAnchorSource = 0 |
static int LLVM_ATTRIBUTE_UNUSED | YAMLGeneratorAnchorDest |
static int LLVM_ATTRIBUTE_UNUSED | MDGeneratorAnchorDest |
static int LLVM_ATTRIBUTE_UNUSED | HTMLGeneratorAnchorDest |
using clang::doc::AbbrevDsc = typedef void (*)(std::shared_ptr<llvm::BitCodeAbbrev> &Abbrev) |
Definition at line 31 of file BitcodeWriter.cpp.
typedef llvm::Registry<Generator> clang::doc::GeneratorRegistry |
Definition at line 40 of file Generators.h.
using clang::doc::Record = typedef llvm::SmallVector<uint64_t, 1024> |
Definition at line 18 of file BitcodeReader.cpp.
using clang::doc::SymbolID = typedef std::array<uint8_t, 20> |
Definition at line 30 of file Representation.h.
enum clang::doc::BlockId |
Definition at line 53 of file BitcodeWriter.h.
|
strong |
Enumerator | |
---|---|
F_default | |
F_namespace | |
F_parent | |
F_vparent | |
F_type | |
F_child_namespace | |
F_child_record |
Definition at line 130 of file BitcodeWriter.h.
|
strong |
Enumerator | |
---|---|
IT_default | |
IT_namespace | |
IT_record | |
IT_function | |
IT_enum |
Definition at line 37 of file Representation.h.
enum clang::doc::RecordId |
Definition at line 71 of file BitcodeWriter.h.
|
static |
Definition at line 33 of file BitcodeWriter.cpp.
Referenced by BoolAbbrev(), IntAbbrev(), LocationAbbrev(), StringAbbrev(), and SymbolIDAbbrev().
void clang::doc::addChild | ( | BaseRecordInfo * | I, |
FunctionInfo && | R | ||
) |
Definition at line 524 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::ChildFunctions.
void clang::doc::addChild | ( | NamespaceInfo * | I, |
EnumInfo && | R | ||
) |
Definition at line 508 of file BitcodeReader.cpp.
References clang::doc::NamespaceInfo::ChildEnums.
void clang::doc::addChild | ( | NamespaceInfo * | I, |
FunctionInfo && | R | ||
) |
Definition at line 504 of file BitcodeReader.cpp.
References clang::doc::NamespaceInfo::ChildFunctions.
void clang::doc::addChild | ( | RecordInfo * | I, |
BaseRecordInfo && | R | ||
) |
Definition at line 520 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Bases.
void clang::doc::addChild | ( | RecordInfo * | I, |
EnumInfo && | R | ||
) |
Definition at line 516 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::ChildEnums.
void clang::doc::addChild | ( | RecordInfo * | I, |
FunctionInfo && | R | ||
) |
Definition at line 512 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::ChildFunctions.
void clang::doc::addChild | ( | T | I, |
ChildInfoType && | R | ||
) |
Definition at line 499 of file BitcodeReader.cpp.
Definition at line 434 of file BitcodeReader.cpp.
llvm::Error clang::doc::addReference | ( | FieldTypeInfo * | I, |
Reference && | R, | ||
FieldId | F | ||
) |
Definition at line 411 of file BitcodeReader.cpp.
llvm::Error clang::doc::addReference | ( | FunctionInfo * | I, |
Reference && | R, | ||
FieldId | F | ||
) |
Definition at line 464 of file BitcodeReader.cpp.
llvm::Error clang::doc::addReference | ( | MemberTypeInfo * | I, |
Reference && | R, | ||
FieldId | F | ||
) |
Definition at line 423 of file BitcodeReader.cpp.
llvm::Error clang::doc::addReference | ( | NamespaceInfo * | I, |
Reference && | R, | ||
FieldId | F | ||
) |
Definition at line 446 of file BitcodeReader.cpp.
llvm::Error clang::doc::addReference | ( | RecordInfo * | I, |
Reference && | R, | ||
FieldId | F | ||
) |
Definition at line 478 of file BitcodeReader.cpp.
Definition at line 394 of file BitcodeReader.cpp.
Definition at line 399 of file BitcodeReader.cpp.
llvm::Error clang::doc::addTypeInfo | ( | BaseRecordInfo * | I, |
MemberTypeInfo && | T | ||
) |
Definition at line 379 of file BitcodeReader.cpp.
llvm::Error clang::doc::addTypeInfo | ( | FunctionInfo * | I, |
FieldTypeInfo && | T | ||
) |
Definition at line 389 of file BitcodeReader.cpp.
llvm::Error clang::doc::addTypeInfo | ( | FunctionInfo * | I, |
TypeInfo && | T | ||
) |
Definition at line 384 of file BitcodeReader.cpp.
llvm::Error clang::doc::addTypeInfo | ( | RecordInfo * | I, |
MemberTypeInfo && | T | ||
) |
Definition at line 374 of file BitcodeReader.cpp.
llvm::Error clang::doc::addTypeInfo | ( | T | I, |
TTypeInfo && | TI | ||
) |
Definition at line 369 of file BitcodeReader.cpp.
|
static |
Definition at line 222 of file HTMLGenerator.cpp.
Referenced by genFileHeadNodes(), genHTML(), and genInfoFileMainNode().
|
static |
Definition at line 39 of file BitcodeWriter.cpp.
References AbbrevGen(), and clang::doc::BitCodeConstants::BoolSize.
|
static |
Definition at line 118 of file Representation.cpp.
References IT_namespace, Name, Path, and Type.
Referenced by clang::doc::Reference::getRelativeFilePath(), and clang::doc::Info::getRelativeFilePath().
|
static |
Definition at line 228 of file HTMLGenerator.cpp.
Referenced by genJsScriptsHTML(), and genStylesheetsHTML().
|
static |
Definition at line 968 of file HTMLGenerator.cpp.
References OutDirectory().
llvm::Error clang::doc::decodeRecord | ( | const Record & | R, |
AccessSpecifier & | Field, | ||
llvm::StringRef | Blob | ||
) |
Definition at line 52 of file BitcodeReader.cpp.
References Field.
llvm::Error clang::doc::decodeRecord | ( | const Record & | R, |
bool & | Field, | ||
llvm::StringRef | Blob | ||
) |
Definition at line 39 of file BitcodeReader.cpp.
References Field.
Definition at line 107 of file BitcodeReader.cpp.
Definition at line 92 of file BitcodeReader.cpp.
References Field, IT_default, IT_enum, IT_function, IT_namespace, and IT_record.
llvm::Error clang::doc::decodeRecord | ( | const Record & | R, |
int & | Field, | ||
llvm::StringRef | Blob | ||
) |
Definition at line 44 of file BitcodeReader.cpp.
References Field.
llvm::Error clang::doc::decodeRecord | ( | const Record & | R, |
llvm::Optional< Location > & | Field, | ||
llvm::StringRef | Blob | ||
) |
Definition at line 83 of file BitcodeReader.cpp.
References Field.
llvm::Error clang::doc::decodeRecord | ( | const Record & | R, |
llvm::SmallVectorImpl< char > & | Field, | ||
llvm::StringRef | Blob | ||
) |
llvm::Error clang::doc::decodeRecord | ( | const Record & | R, |
llvm::SmallVectorImpl< llvm::SmallString< 16 >> & | Field, | ||
llvm::StringRef | Blob | ||
) |
Definition at line 124 of file BitcodeReader.cpp.
References Field.
llvm::Error clang::doc::decodeRecord | ( | const Record & | R, |
llvm::SmallVectorImpl< Location > & | Field, | ||
llvm::StringRef | Blob | ||
) |
Definition at line 131 of file BitcodeReader.cpp.
References Field.
Definition at line 26 of file BitcodeReader.cpp.
References E, Field, and clang::doc::BitCodeConstants::USRHashSize.
llvm::Error clang::doc::decodeRecord | ( | const Record & | R, |
TagTypeKind & | Field, | ||
llvm::StringRef | Blob | ||
) |
Definition at line 67 of file BitcodeReader.cpp.
References Field.
llvm::Expected< std::unique_ptr< Generator > > clang::doc::findGeneratorByName | ( | llvm::StringRef | Format | ) |
Definition at line 17 of file Generators.cpp.
|
static |
Definition at line 27 of file MDGenerator.cpp.
References Text.
|
static |
Definition at line 364 of file HTMLGenerator.cpp.
References M.
|
static |
|
static |
Definition at line 532 of file HTMLGenerator.cpp.
|
static |
Definition at line 487 of file HTMLGenerator.cpp.
References ProjectName().
|
static |
Definition at line 469 of file HTMLGenerator.cpp.
References AppendVector(), genJsScriptsHTML(), genStylesheetsHTML(), and Out.
|
static |
|
static |
Definition at line 600 of file HTMLGenerator.cpp.
References clang::doc::CommentInfo::Kind.
|
static |
Definition at line 637 of file HTMLGenerator.cpp.
References clang::doc::Info::Name, Out, clang::doc::EnumInfo::Scoped, and clang::doc::Info::USR.
|
static |
Definition at line 670 of file HTMLGenerator.cpp.
References clang::doc::FunctionInfo::Access, clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, Description, genHTML(), genReference(), clang::doc::Reference::Name, clang::doc::Info::Name, Out, clang::doc::FunctionInfo::Params, clang::doc::ClangDocContext::RepositoryUrl, clang::doc::FunctionInfo::ReturnType, clang::doc::TypeInfo::Type, clang::doc::Info::USR, and writeFileDefinition().
|
static |
Definition at line 574 of file HTMLGenerator.cpp.
References C, clang::doc::Index::Children, genReference(), clang::doc::Index::JumpToSection, clang::doc::Reference::Name, and Out.
|
static |
Definition at line 719 of file HTMLGenerator.cpp.
References AppendVector(), clang::doc::NamespaceInfo::ChildEnums, clang::doc::NamespaceInfo::ChildFunctions, clang::doc::NamespaceInfo::ChildNamespaces, clang::doc::NamespaceInfo::ChildRecords, clang::doc::Index::Children, clang::doc::Info::Description, Description, genEnumsBlock(), genFunctionsBlock(), genHTML(), genInfoIndexItem(), genReferencesBlock(), clang::doc::Info::getRelativeFilePath(), clang::doc::Info::Name, and Out.
|
static |
Definition at line 763 of file HTMLGenerator.cpp.
References AppendVector(), clang::doc::RecordInfo::ChildEnums, clang::doc::RecordInfo::ChildFunctions, clang::doc::RecordInfo::ChildRecords, clang::doc::Index::Children, clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, Description, genEnumsBlock(), genFunctionsBlock(), genInfoIndexItem(), genRecordMembersBlock(), genReferenceList(), genReferencesBlock(), getTagType(), clang::doc::RecordInfo::Members, clang::doc::Info::Name, Out, clang::doc::RecordInfo::Parents, clang::doc::Info::Path, clang::doc::ClangDocContext::RepositoryUrl, clang::doc::RecordInfo::TagType, clang::doc::RecordInfo::VirtualParents, and writeFileDefinition().
Referenced by clang::doc::HTMLGenerator::generateDocForInfo(), genHTML(), and genInfoFileMainNode().
|
static |
Definition at line 627 of file HTMLGenerator.cpp.
|
static |
Definition at line 312 of file MDGenerator.cpp.
References C, clang::doc::Index::Children, clang::doc::ClangDocContext::Idx, OS, clang::doc::ClangDocContext::OutDirectory, clang::doc::ClangDocContext::ProjectName, clang::doc::Index::sort(), and Type.
|
static |
Definition at line 938 of file HTMLGenerator.cpp.
References clang::doc::ClangDocContext::OutDirectory.
|
static |
Definition at line 923 of file HTMLGenerator.cpp.
|
static |
Definition at line 543 of file HTMLGenerator.cpp.
|
static |
Definition at line 497 of file HTMLGenerator.cpp.
References AppendVector(), and genHTML().
|
static |
Definition at line 565 of file HTMLGenerator.cpp.
References C, and clang::doc::Index::Children.
Referenced by genHTML().
|
static |
|
static |
Definition at line 288 of file HTMLGenerator.cpp.
References computeRelativePath(), clang::doc::ClangDocContext::JsScripts, and Out.
Referenced by genFileHeadNodes().
|
static |
|
static |
Definition at line 127 of file MDGenerator.cpp.
References C, clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, clang::doc::EnumInfo::Members, clang::doc::Info::Name, OS, clang::doc::EnumInfo::Scoped, writeDescription(), writeFileDefinition(), and writeLine().
|
static |
Definition at line 148 of file MDGenerator.cpp.
References clang::doc::FunctionInfo::Access, C, clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, genItalic(), clang::doc::Reference::Name, clang::doc::Info::Name, OS, clang::doc::FunctionInfo::Params, clang::doc::FunctionInfo::ReturnType, clang::doc::TypeInfo::Type, writeDescription(), writeFileDefinition(), writeHeader(), and writeLine().
|
static |
Definition at line 176 of file MDGenerator.cpp.
References C, clang::doc::NamespaceInfo::ChildFunctions, clang::doc::NamespaceInfo::ChildNamespaces, clang::doc::NamespaceInfo::ChildRecords, clang::doc::Info::Description, clang::doc::Info::getRelativeFilePath(), clang::doc::Info::Name, OS, writeDescription(), writeHeader(), writeNameLink(), and writeNewLine().
|
static |
Definition at line 226 of file MDGenerator.cpp.
References C, clang::doc::RecordInfo::ChildFunctions, clang::doc::RecordInfo::ChildRecords, clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, genReferenceList(), getTagType(), clang::doc::RecordInfo::Members, clang::doc::Info::Name, OS, clang::doc::RecordInfo::Parents, clang::doc::RecordInfo::TagType, clang::doc::RecordInfo::VirtualParents, writeDescription(), writeFileDefinition(), writeHeader(), writeLine(), and writeNewLine().
Referenced by clang::doc::MDGenerator::generateDocForInfo().
|
static |
Definition at line 394 of file HTMLGenerator.cpp.
References genReference(), M, and Out.
Referenced by genHTML().
|
static |
Definition at line 309 of file HTMLGenerator.cpp.
References genLink(), Path, and Type.
Referenced by genHTML(), genRecordMembersBlock(), genReferenceList(), and genReferencesBlock().
|
static |
|
static |
Definition at line 328 of file HTMLGenerator.cpp.
References genReference(), Out, and Refs.
Referenced by genHTML().
|
static |
Definition at line 418 of file HTMLGenerator.cpp.
References genReference(), Out, and References.
Referenced by genHTML().
|
static |
Definition at line 271 of file HTMLGenerator.cpp.
References computeRelativePath(), Out, and clang::doc::ClangDocContext::UserStylesheets.
Referenced by genFileHeadNodes().
llvm::Expected<CommentInfo *> clang::doc::getCommentInfo | ( | CommentInfo * | I | ) |
Definition at line 358 of file BitcodeReader.cpp.
References clang::doc::CommentInfo::Children.
llvm::Expected<CommentInfo *> clang::doc::getCommentInfo | ( | EnumInfo * | I | ) |
Definition at line 353 of file BitcodeReader.cpp.
References clang::doc::Info::Description.
llvm::Expected<CommentInfo *> clang::doc::getCommentInfo | ( | FunctionInfo * | I | ) |
Definition at line 338 of file BitcodeReader.cpp.
References clang::doc::Info::Description.
llvm::Expected<CommentInfo *> clang::doc::getCommentInfo | ( | NamespaceInfo * | I | ) |
Definition at line 343 of file BitcodeReader.cpp.
References clang::doc::Info::Description.
llvm::Expected<CommentInfo *> clang::doc::getCommentInfo | ( | RecordInfo * | I | ) |
Definition at line 348 of file BitcodeReader.cpp.
References clang::doc::Info::Description.
llvm::Expected<CommentInfo *> clang::doc::getCommentInfo | ( | std::unique_ptr< CommentInfo > & | I | ) |
Definition at line 364 of file BitcodeReader.cpp.
References getCommentInfo().
llvm::Expected<CommentInfo *> clang::doc::getCommentInfo | ( | T | I | ) |
Definition at line 333 of file BitcodeReader.cpp.
Referenced by getCommentInfo().
|
static |
Definition at line 872 of file HTMLGenerator.cpp.
Referenced by SerializeIndex().
std::string clang::doc::getTagType | ( | TagTypeKind | AS | ) |
Definition at line 29 of file Generators.cpp.
Referenced by genHTML(), and genMarkdown().
|
static |
|
static |
Definition at line 46 of file BitcodeWriter.cpp.
References AbbrevGen(), and clang::doc::BitCodeConstants::IntSize.
|
static |
Definition at line 74 of file BitcodeWriter.cpp.
References AbbrevGen(), clang::doc::BitCodeConstants::BoolSize, clang::doc::BitCodeConstants::LineNumberSize, and clang::doc::BitCodeConstants::StringLengthSize.
|
static |
Referenced by clang::find_all_symbols::FindAllMacros::Ifdef(), clang::find_all_symbols::FindAllMacros::Ifndef(), clang::tidy::bugprone::isOverrideMethod(), clang::tidy::modernize::MacroToEnumCallbacks::MacroDefined(), clang::find_all_symbols::FindAllMacros::MacroExpands(), clang::tidy::misc::NewDeleteOverloadsCheck::onEndOfTranslationUnit(), clang::doc::serialize::parseBases(), and clang::tidy::utils::refersToEnclosingLambdaCaptureByRef().
llvm::Expected< std::unique_ptr< Info > > clang::doc::mergeInfos | ( | std::vector< std::unique_ptr< Info >> & | Values | ) |
Definition at line 97 of file Representation.cpp.
References IT_enum, IT_function, IT_namespace, and IT_record.
std::unique_ptr< tooling::FrontendActionFactory > clang::doc::newMapperActionFactory | ( | ClangDocContext | CDCtx | ) |
Definition at line 56 of file ClangDoc.cpp.
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
BaseRecordInfo * | I | ||
) |
Definition at line 187 of file BitcodeReader.cpp.
References clang::doc::BaseRecordInfo::Access, BASE_RECORD_ACCESS, BASE_RECORD_IS_PARENT, BASE_RECORD_IS_VIRTUAL, BASE_RECORD_NAME, BASE_RECORD_PATH, BASE_RECORD_TAG_TYPE, BASE_RECORD_USR, decodeRecord(), ID, clang::doc::BaseRecordInfo::IsParent, clang::doc::BaseRecordInfo::IsVirtual, clang::doc::Info::Name, clang::doc::Info::Path, clang::doc::RecordInfo::TagType, and clang::doc::Info::USR.
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
CommentInfo * | I | ||
) |
Definition at line 281 of file BitcodeReader.cpp.
References clang::doc::CommentInfo::Args, clang::doc::CommentInfo::AttrKeys, clang::doc::CommentInfo::AttrValues, clang::doc::CommentInfo::CloseName, COMMENT_ARG, COMMENT_ATTRKEY, COMMENT_ATTRVAL, COMMENT_CLOSENAME, COMMENT_DIRECTION, COMMENT_EXPLICIT, COMMENT_KIND, COMMENT_NAME, COMMENT_PARAMNAME, COMMENT_SELFCLOSING, COMMENT_TEXT, decodeRecord(), clang::doc::CommentInfo::Direction, clang::doc::CommentInfo::Explicit, ID, clang::doc::CommentInfo::Kind, clang::doc::CommentInfo::Name, clang::doc::CommentInfo::ParamName, clang::doc::CommentInfo::SelfClosing, and clang::doc::CommentInfo::Text.
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
const unsigned | VersionNo | ||
) |
Definition at line 141 of file BitcodeReader.cpp.
Referenced by clang::doc::ClangDocBitcodeReader::readRecord().
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
EnumInfo * | I | ||
) |
Definition at line 210 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::SymbolInfo::DefLoc, ENUM_DEFLOCATION, ENUM_LOCATION, ENUM_MEMBER, ENUM_NAME, ENUM_SCOPED, ENUM_USR, ID, clang::doc::SymbolInfo::Loc, clang::doc::EnumInfo::Members, clang::doc::Info::Name, clang::doc::EnumInfo::Scoped, and clang::doc::Info::USR.
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
FieldTypeInfo * | I | ||
) |
Definition at line 257 of file BitcodeReader.cpp.
References decodeRecord(), FIELD_TYPE_NAME, ID, and clang::doc::FieldTypeInfo::Name.
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
FunctionInfo * | I | ||
) |
Definition at line 231 of file BitcodeReader.cpp.
References clang::doc::FunctionInfo::Access, decodeRecord(), clang::doc::SymbolInfo::DefLoc, FUNCTION_ACCESS, FUNCTION_DEFLOCATION, FUNCTION_IS_METHOD, FUNCTION_LOCATION, FUNCTION_NAME, FUNCTION_USR, ID, clang::doc::FunctionInfo::IsMethod, clang::doc::SymbolInfo::Loc, clang::doc::Info::Name, and clang::doc::Info::USR.
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
MemberTypeInfo * | I | ||
) |
Definition at line 268 of file BitcodeReader.cpp.
References clang::doc::MemberTypeInfo::Access, decodeRecord(), ID, MEMBER_TYPE_ACCESS, MEMBER_TYPE_NAME, and clang::doc::FieldTypeInfo::Name.
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
NamespaceInfo * | I | ||
) |
Definition at line 149 of file BitcodeReader.cpp.
References decodeRecord(), ID, clang::doc::Info::Name, NAMESPACE_NAME, NAMESPACE_PATH, NAMESPACE_USR, clang::doc::Info::Path, and clang::doc::Info::USR.
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
RecordInfo * | I | ||
) |
Definition at line 164 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::SymbolInfo::DefLoc, ID, clang::doc::RecordInfo::IsTypeDef, clang::doc::SymbolInfo::Loc, clang::doc::Info::Name, clang::doc::Info::Path, RECORD_DEFLOCATION, RECORD_IS_TYPE_DEF, RECORD_LOCATION, RECORD_NAME, RECORD_PATH, RECORD_TAG_TYPE, RECORD_USR, clang::doc::RecordInfo::TagType, and clang::doc::Info::USR.
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
Reference * | I, | ||
FieldId & | F | ||
) |
Definition at line 312 of file BitcodeReader.cpp.
llvm::Error clang::doc::parseRecord | ( | const Record & | R, |
unsigned | ID, | ||
llvm::StringRef | Blob, | ||
TypeInfo * | I | ||
) |
Definition at line 252 of file BitcodeReader.cpp.
|
static |
Definition at line 289 of file MDGenerator.cpp.
References C, clang::doc::Index::Children, clang::doc::ClangDocContext::Idx, OS, clang::doc::ClangDocContext::OutDirectory, clang::doc::ClangDocContext::ProjectName, serializeReference(), and clang::doc::Index::sort().
|
static |
Definition at line 888 of file HTMLGenerator.cpp.
References C, getRefType(), clang::doc::ClangDocContext::Idx, OS, clang::doc::ClangDocContext::OutDirectory, and clang::doc::Index::sort().
|
static |
Definition at line 282 of file MDGenerator.cpp.
Referenced by serializeIndex().
|
static |
Definition at line 64 of file BitcodeWriter.cpp.
References AbbrevGen(), and clang::doc::BitCodeConstants::StringLengthSize.
|
static |
Definition at line 53 of file BitcodeWriter.cpp.
References AbbrevGen(), clang::doc::BitCodeConstants::USRBitLengthSize, and clang::doc::BitCodeConstants::USRLengthSize.
|
static |
Definition at line 69 of file MDGenerator.cpp.
References clang::doc::CommentInfo::Kind.
Referenced by genMarkdown().
|
static |
Definition at line 53 of file MDGenerator.cpp.
Referenced by genMarkdown().
|
static |
Definition at line 437 of file HTMLGenerator.cpp.
Referenced by genHTML().
|
static |
Definition at line 49 of file MDGenerator.cpp.
Referenced by genMarkdown().
|
static |
Definition at line 43 of file MDGenerator.cpp.
Referenced by genMarkdown().
|
static |
Definition at line 117 of file MDGenerator.cpp.
References clang::doc::Reference::getFileBaseName(), clang::doc::Reference::getRelativeFilePath(), clang::doc::Reference::Name, OS, and Path.
Referenced by genMarkdown().
|
static |
|
static |
Definition at line 126 of file BitcodeWriter.h.
|
static |
Definition at line 105 of file BitcodeWriter.cpp.
Definition at line 17 of file BitcodeWriter.cpp.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::FunctionInfo::merge(), and clang::doc::Info::mergeBase().
|
static |
Definition at line 107 of file Generators.cpp.
volatile int clang::doc::HTMLGeneratorAnchorSource = 0 |
Definition at line 1011 of file HTMLGenerator.cpp.
|
static |
Definition at line 105 of file Generators.cpp.
volatile int clang::doc::MDGeneratorAnchorSource = 0 |
Definition at line 404 of file MDGenerator.cpp.
Definition at line 127 of file BitcodeWriter.h.
|
static |
Definition at line 131 of file BitcodeWriter.cpp.
Definition at line 199 of file BitcodeWriter.cpp.
|
static |
Definition at line 33 of file BitcodeWriter.h.
|
static |
Definition at line 103 of file Generators.cpp.
volatile int clang::doc::YAMLGeneratorAnchorSource = 0 |
Definition at line 303 of file YAMLGenerator.cpp.