|
clang-tools 22.0.0git
|
Namespaces | |
| namespace | serialize |
Classes | |
| struct | BaseRecordInfo |
| struct | BitCodeConstants |
| struct | BlockIdToIndexFunctor |
| class | ClangDocBitcodeReader |
| class | ClangDocBitcodeWriter |
| struct | ClangDocContext |
| struct | CommentInfo |
| struct | ConceptInfo |
| struct | ConstraintInfo |
| struct | EnumInfo |
| struct | EnumValueInfo |
| struct | FieldTypeInfo |
| struct | FriendInfo |
| struct | FunctionInfo |
| class | Generator |
| class | HTMLGenerator |
| struct | Index |
| struct | Info |
| A base struct for Infos. More... | |
| class | JSONGenerator |
| struct | Location |
| class | MapASTVisitor |
| class | MapperActionFactory |
| class | MDGenerator |
| Generator for Markdown documentation. More... | |
| struct | MemberTypeInfo |
| struct | MustacheGenerator |
| class | MustacheTemplateFile |
| struct | NamespaceInfo |
| struct | RecordIdDsc |
| struct | RecordIdToIndexFunctor |
| struct | RecordInfo |
| struct | Reference |
| struct | ScopeChildren |
| struct | SymbolInfo |
| struct | TemplateInfo |
| struct | TemplateParamInfo |
| struct | TemplateSpecializationInfo |
| struct | TypedefInfo |
| struct | TypeInfo |
| struct | VarInfo |
| 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 | |
| static llvm::ExitOnError | ExitOnErr ("clang-doc error: ") |
| static llvm::Error | decodeRecord (const Record &R, llvm::SmallVectorImpl< char > &Field, llvm::StringRef Blob) |
| static llvm::Error | decodeRecord (const Record &R, SymbolID &Field, llvm::StringRef Blob) |
| static llvm::Error | decodeRecord (const Record &R, bool &Field, llvm::StringRef Blob) |
| static llvm::Error | decodeRecord (const Record &R, AccessSpecifier &Field, llvm::StringRef Blob) |
| static llvm::Error | decodeRecord (const Record &R, TagTypeKind &Field, llvm::StringRef Blob) |
| static llvm::Error | decodeRecord (const Record &R, std::optional< Location > &Field, llvm::StringRef Blob) |
| static llvm::Error | decodeRecord (const Record &R, InfoType &Field, llvm::StringRef Blob) |
| static llvm::Error | decodeRecord (const Record &R, FieldId &Field, llvm::StringRef Blob) |
| static llvm::Error | decodeRecord (const Record &R, llvm::SmallVectorImpl< llvm::SmallString< 16 > > &Field, llvm::StringRef Blob) |
| static llvm::Error | decodeRecord (const Record &R, llvm::SmallVectorImpl< Location > &Field, llvm::StringRef Blob) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, const unsigned VersionNo) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, NamespaceInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, RecordInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, BaseRecordInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, EnumInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TypedefInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, EnumValueInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, FunctionInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TypeInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, FieldTypeInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, MemberTypeInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, CommentInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, Reference *I, FieldId &F) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TemplateInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TemplateSpecializationInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TemplateParamInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, ConceptInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, ConstraintInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, VarInfo *I) |
| static llvm::Error | parseRecord (const Record &R, unsigned ID, StringRef Blob, FriendInfo *F) |
| template<typename T> | |
| static 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 (MemberTypeInfo *I) |
| template<> | |
| llvm::Expected< CommentInfo * > | getCommentInfo (EnumInfo *I) |
| template<> | |
| llvm::Expected< CommentInfo * > | getCommentInfo (TypedefInfo *I) |
| template<> | |
| llvm::Expected< CommentInfo * > | getCommentInfo (EnumValueInfo *I) |
| template<> | |
| llvm::Expected< CommentInfo * > | getCommentInfo (CommentInfo *I) |
| template<> | |
| llvm::Expected< CommentInfo * > | getCommentInfo (ConceptInfo *I) |
| template<> | |
| Expected< CommentInfo * > | getCommentInfo (VarInfo *I) |
| template<typename T, typename TTypeInfo> | |
| static 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<> | |
| llvm::Error | addTypeInfo (FriendInfo *I, FieldTypeInfo &&T) |
| template<> | |
| llvm::Error | addTypeInfo (FriendInfo *I, TypeInfo &&T) |
| template<> | |
| llvm::Error | addTypeInfo (EnumInfo *I, TypeInfo &&T) |
| template<> | |
| llvm::Error | addTypeInfo (TypedefInfo *I, TypeInfo &&T) |
| template<> | |
| llvm::Error | addTypeInfo (VarInfo *I, TypeInfo &&T) |
| template<typename T> | |
| static llvm::Error | addReference (T I, Reference &&R, FieldId F) |
| template<> | |
| llvm::Error | addReference (VarInfo *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 (TypedefInfo *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<> | |
| llvm::Error | addReference (ConstraintInfo *I, Reference &&R, FieldId F) |
| template<> | |
| llvm::Error | addReference (FriendInfo *Friend, Reference &&R, FieldId F) |
| template<typename T, typename ChildInfoType> | |
| static void | addChild (T I, ChildInfoType &&R) |
| template<> | |
| void | addChild (NamespaceInfo *I, FunctionInfo &&R) |
| template<> | |
| void | addChild (NamespaceInfo *I, EnumInfo &&R) |
| template<> | |
| void | addChild (NamespaceInfo *I, TypedefInfo &&R) |
| template<> | |
| void | addChild (NamespaceInfo *I, ConceptInfo &&R) |
| template<> | |
| void | addChild (NamespaceInfo *I, VarInfo &&R) |
| template<> | |
| void | addChild (RecordInfo *I, FunctionInfo &&R) |
| template<> | |
| void | addChild (RecordInfo *I, EnumInfo &&R) |
| template<> | |
| void | addChild (RecordInfo *I, TypedefInfo &&R) |
| template<> | |
| void | addChild (RecordInfo *I, FriendInfo &&R) |
| template<> | |
| void | addChild (EnumInfo *I, EnumValueInfo &&R) |
| template<> | |
| void | addChild (RecordInfo *I, BaseRecordInfo &&R) |
| template<> | |
| void | addChild (BaseRecordInfo *I, FunctionInfo &&R) |
| template<typename T> | |
| static void | addTemplateParam (T I, TemplateParamInfo &&P) |
| template<> | |
| void | addTemplateParam (TemplateInfo *I, TemplateParamInfo &&P) |
| template<> | |
| void | addTemplateParam (TemplateSpecializationInfo *I, TemplateParamInfo &&P) |
| template<typename T> | |
| static void | addTemplate (T I, TemplateInfo &&P) |
| template<> | |
| void | addTemplate (RecordInfo *I, TemplateInfo &&P) |
| template<> | |
| void | addTemplate (FunctionInfo *I, TemplateInfo &&P) |
| template<> | |
| void | addTemplate (ConceptInfo *I, TemplateInfo &&P) |
| template<> | |
| void | addTemplate (FriendInfo *I, TemplateInfo &&P) |
| template<typename T> | |
| static void | addTemplateSpecialization (T I, TemplateSpecializationInfo &&TSI) |
| template<> | |
| void | addTemplateSpecialization (TemplateInfo *I, TemplateSpecializationInfo &&TSI) |
| template<typename T> | |
| static void | addConstraint (T I, ConstraintInfo &&C) |
| template<> | |
| void | addConstraint (TemplateInfo *I, ConstraintInfo &&C) |
| static void | generateAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev, const std::initializer_list< llvm::BitCodeAbbrevOp > Ops) |
| static void | genBoolAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev) |
| static void | genIntAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev) |
| static void | genSymbolIdAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev) |
| static void | genStringAbbrev (std::shared_ptr< llvm::BitCodeAbbrev > &Abbrev) |
| static void | genLocationAbbrev (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) |
| Error | createFileOpenError (StringRef FileName, std::error_code EC) |
| static GeneratorRegistry::Add< HTMLGenerator > | HTML (HTMLGenerator::Format, "Generator for mustache HTML output.") |
| static void | serializeInfo (const ConstraintInfo &I, Object &Obj) |
| static void | serializeInfo (const RecordInfo &I, Object &Obj, const std::optional< StringRef > &RepositoryUrl) |
| static void | serializeReference (const Reference &Ref, Object &ReferenceObj) |
| template<typename Container, typename SerializationFunc> | |
| static void | serializeArray (const Container &Records, Object &Obj, const std::string &Key, SerializationFunc SerializeInfo) |
| static std::string | infoTypeToString (InfoType IT) |
| static json::Object | serializeLocation (const Location &Loc, const std::optional< StringRef > RepositoryUrl) |
| static void | insertComment (Object &Description, json::Value &Comment, StringRef Key) |
| Insert comments into a key in the Description object. | |
| static json::Value | extractTextComments (Object *ParagraphComment) |
| Takes the nested "Children" array from a comment Object. | |
| static json::Value | extractVerbatimComments (json::Array VerbatimLines) |
| static Object | serializeComment (const CommentInfo &I, Object &Description) |
| static void | serializeCommonAttributes (const Info &I, json::Object &Obj, const std::optional< StringRef > RepositoryUrl) |
| static void | serializeCommonChildren (const ScopeChildren &Children, json::Object &Obj, const std::optional< StringRef > RepositoryUrl) |
| static void | serializeInfo (const ArrayRef< TemplateParamInfo > &Params, Object &Obj) |
| static void | serializeInfo (const TemplateInfo &Template, Object &Obj) |
| static void | serializeInfo (const ConceptInfo &I, Object &Obj, const std::optional< StringRef > &RepositoryUrl) |
| static void | serializeInfo (const TypeInfo &I, Object &Obj) |
| static void | serializeInfo (const FieldTypeInfo &I, Object &Obj) |
| static void | serializeInfo (const FunctionInfo &F, json::Object &Obj, const std::optional< StringRef > RepositoryURL) |
| static void | serializeInfo (const EnumValueInfo &I, Object &Obj) |
| static void | serializeInfo (const EnumInfo &I, json::Object &Obj, const std::optional< StringRef > &RepositoryUrl) |
| static void | serializeInfo (const TypedefInfo &I, json::Object &Obj, const std::optional< StringRef > &RepositoryUrl) |
| static void | serializeInfo (const BaseRecordInfo &I, Object &Obj, const std::optional< StringRef > &RepositoryUrl) |
| static void | serializeInfo (const FriendInfo &I, Object &Obj) |
| static void | insertArray (Object &Obj, json::Value &Array, StringRef Key) |
| static void | serializeInfo (const RecordInfo &I, json::Object &Obj, const std::optional< StringRef > &RepositoryUrl) |
| static void | serializeInfo (const VarInfo &I, json::Object &Obj, const std::optional< StringRef > RepositoryUrl) |
| static void | serializeInfo (const NamespaceInfo &I, json::Object &Obj, const std::optional< StringRef > RepositoryUrl) |
| static SmallString< 16 > | determineFileName (Info *I, SmallString< 128 > &Path) |
| static GeneratorRegistry::Add< JSONGenerator > | JSON (JSONGenerator::Format, "Generator for JSON output.") |
| template<typename T> | |
| static bool | isTypedefAnonRecord (const T *D) |
| 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 | writeSourceFileRef (const ClangDocContext &CDCtx, const Location &L, raw_ostream &OS) |
| static void | maybeWriteSourceFileRef (llvm::raw_ostream &OS, const ClangDocContext &CDCtx, const std::optional< Location > &DefLoc) |
| 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 | genMarkdown (const ClangDocContext &CDCtx, const TypedefInfo &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.") |
| CommentKind | stringToCommentKind (llvm::StringRef KindStr) |
| llvm::StringRef | commentKindToString (CommentKind Kind) |
| template<typename T> | |
| static llvm::Expected< std::unique_ptr< Info > > | reduce (std::vector< std::unique_ptr< Info > > &Values) |
| template<typename T> | |
| static int | getChildIndexIfExists (std::vector< T > &Children, T &ChildToMerge) |
| template<typename T> | |
| static void | reduceChildren (std::vector< T > &Children, std::vector< T > &&ChildrenToMerge) |
| 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) |
| llvm::Error | copyFile (llvm::StringRef FilePath, llvm::StringRef OutDirectory) |
| llvm::SmallString< 128 > | computeRelativePath (llvm::StringRef Destination, llvm::StringRef Origin) |
| static GeneratorRegistry::Add< YAMLGenerator > | YAML (YAMLGenerator::Format, "Generator for YAML output.") |
| using clang::doc::AbbrevDsc = 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 49 of file Generators.h.
| using clang::doc::Record = llvm::SmallVector<uint64_t, 1024> |
Definition at line 21 of file BitcodeReader.cpp.
| using clang::doc::SymbolID = std::array<uint8_t, 20> |
Definition at line 30 of file Representation.h.
| enum clang::doc::BlockId |
Definition at line 50 of file BitcodeWriter.h.
|
strong |
Definition at line 55 of file Representation.h.
|
strong |
| Enumerator | |
|---|---|
| F_default | |
| F_namespace | |
| F_parent | |
| F_vparent | |
| F_type | |
| F_child_namespace | |
| F_child_record | |
| F_concept | |
| F_friend | |
Definition at line 165 of file BitcodeWriter.h.
|
strong |
| Enumerator | |
|---|---|
| IT_default | |
| IT_namespace | |
| IT_record | |
| IT_function | |
| IT_enum | |
| IT_typedef | |
| IT_concept | |
| IT_variable | |
| IT_friend | |
Definition at line 43 of file Representation.h.
| enum clang::doc::RecordId |
Definition at line 77 of file BitcodeWriter.h.
| void clang::doc::addChild | ( | BaseRecordInfo * | I, |
| FunctionInfo && | R ) |
Definition at line 764 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Children, and clang::doc::ScopeChildren::Functions.
| void clang::doc::addChild | ( | EnumInfo * | I, |
| EnumValueInfo && | R ) |
Definition at line 758 of file BitcodeReader.cpp.
References clang::doc::EnumInfo::Members.
| void clang::doc::addChild | ( | NamespaceInfo * | I, |
| ConceptInfo && | R ) |
Definition at line 736 of file BitcodeReader.cpp.
References clang::doc::NamespaceInfo::Children, and clang::doc::ScopeChildren::Concepts.
| void clang::doc::addChild | ( | NamespaceInfo * | I, |
| EnumInfo && | R ) |
Definition at line 730 of file BitcodeReader.cpp.
References clang::doc::NamespaceInfo::Children, and clang::doc::ScopeChildren::Enums.
| void clang::doc::addChild | ( | NamespaceInfo * | I, |
| FunctionInfo && | R ) |
Definition at line 727 of file BitcodeReader.cpp.
References clang::doc::NamespaceInfo::Children, and clang::doc::ScopeChildren::Functions.
| void clang::doc::addChild | ( | NamespaceInfo * | I, |
| TypedefInfo && | R ) |
Definition at line 733 of file BitcodeReader.cpp.
References clang::doc::NamespaceInfo::Children, and clang::doc::ScopeChildren::Typedefs.
| void clang::doc::addChild | ( | NamespaceInfo * | I, |
| VarInfo && | R ) |
Definition at line 739 of file BitcodeReader.cpp.
References clang::doc::NamespaceInfo::Children, and clang::doc::ScopeChildren::Variables.
| void clang::doc::addChild | ( | RecordInfo * | I, |
| BaseRecordInfo && | R ) |
Definition at line 761 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Bases.
| void clang::doc::addChild | ( | RecordInfo * | I, |
| EnumInfo && | R ) |
Definition at line 747 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Children, and clang::doc::ScopeChildren::Enums.
| void clang::doc::addChild | ( | RecordInfo * | I, |
| FriendInfo && | R ) |
Definition at line 753 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Friends.
| void clang::doc::addChild | ( | RecordInfo * | I, |
| FunctionInfo && | R ) |
Definition at line 744 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Children, and clang::doc::ScopeChildren::Functions.
| void clang::doc::addChild | ( | RecordInfo * | I, |
| TypedefInfo && | R ) |
Definition at line 750 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Children, and clang::doc::ScopeChildren::Typedefs.
|
static |
Definition at line 721 of file BitcodeReader.cpp.
References ExitOnErr.
|
static |
Definition at line 815 of file BitcodeReader.cpp.
References ExitOnErr.
| void clang::doc::addConstraint | ( | TemplateInfo * | I, |
| ConstraintInfo && | C ) |
Definition at line 819 of file BitcodeReader.cpp.
References clang::doc::TemplateInfo::Constraints.
| llvm::Error clang::doc::addReference | ( | ConstraintInfo * | I, |
| Reference && | R, | ||
| FieldId | F ) |
Definition at line 700 of file BitcodeReader.cpp.
References clang::doc::ConstraintInfo::ConceptRef, and F_concept.
Definition at line 624 of file BitcodeReader.cpp.
References F_namespace, and clang::doc::Info::Namespace.
| llvm::Error clang::doc::addReference | ( | FieldTypeInfo * | I, |
| Reference && | R, | ||
| FieldId | F ) |
Definition at line 601 of file BitcodeReader.cpp.
References F_type, and clang::doc::TypeInfo::Type.
| llvm::Error clang::doc::addReference | ( | FriendInfo * | Friend, |
| Reference && | R, | ||
| FieldId | F ) |
Definition at line 711 of file BitcodeReader.cpp.
References F_friend, and clang::doc::FriendInfo::Ref.
| llvm::Error clang::doc::addReference | ( | FunctionInfo * | I, |
| Reference && | R, | ||
| FieldId | F ) |
Definition at line 665 of file BitcodeReader.cpp.
References F_namespace, F_parent, clang::doc::Info::Namespace, and clang::doc::FunctionInfo::Parent.
| llvm::Error clang::doc::addReference | ( | MemberTypeInfo * | I, |
| Reference && | R, | ||
| FieldId | F ) |
Definition at line 613 of file BitcodeReader.cpp.
References F_type, and clang::doc::TypeInfo::Type.
| llvm::Error clang::doc::addReference | ( | NamespaceInfo * | I, |
| Reference && | R, | ||
| FieldId | F ) |
Definition at line 647 of file BitcodeReader.cpp.
References clang::doc::NamespaceInfo::Children, F_child_namespace, F_child_record, F_namespace, clang::doc::Info::Namespace, clang::doc::ScopeChildren::Namespaces, and clang::doc::ScopeChildren::Records.
| llvm::Error clang::doc::addReference | ( | RecordInfo * | I, |
| Reference && | R, | ||
| FieldId | F ) |
Definition at line 679 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Children, F_child_record, F_namespace, F_parent, F_vparent, clang::doc::Info::Namespace, clang::doc::RecordInfo::Parents, clang::doc::ScopeChildren::Records, and clang::doc::RecordInfo::VirtualParents.
Definition at line 573 of file BitcodeReader.cpp.
| llvm::Error clang::doc::addReference | ( | TypedefInfo * | I, |
| Reference && | R, | ||
| FieldId | F ) |
Definition at line 635 of file BitcodeReader.cpp.
References F_namespace, and clang::doc::Info::Namespace.
Definition at line 589 of file BitcodeReader.cpp.
References F_type, and clang::doc::TypeInfo::Type.
Definition at line 578 of file BitcodeReader.cpp.
References F_namespace, and clang::doc::Info::Namespace.
| void clang::doc::addTemplate | ( | ConceptInfo * | I, |
| TemplateInfo && | P ) |
Definition at line 795 of file BitcodeReader.cpp.
References clang::doc::ConceptInfo::Template.
| void clang::doc::addTemplate | ( | FriendInfo * | I, |
| TemplateInfo && | P ) |
Definition at line 798 of file BitcodeReader.cpp.
References clang::doc::FriendInfo::Template.
| void clang::doc::addTemplate | ( | FunctionInfo * | I, |
| TemplateInfo && | P ) |
Definition at line 792 of file BitcodeReader.cpp.
References clang::doc::FunctionInfo::Template.
| void clang::doc::addTemplate | ( | RecordInfo * | I, |
| TemplateInfo && | P ) |
Definition at line 789 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Template.
|
static |
Definition at line 785 of file BitcodeReader.cpp.
References ExitOnErr.
|
static |
Definition at line 771 of file BitcodeReader.cpp.
References ExitOnErr.
| void clang::doc::addTemplateParam | ( | TemplateInfo * | I, |
| TemplateParamInfo && | P ) |
Definition at line 776 of file BitcodeReader.cpp.
References clang::doc::TemplateInfo::Params.
| void clang::doc::addTemplateParam | ( | TemplateSpecializationInfo * | I, |
| TemplateParamInfo && | P ) |
Definition at line 780 of file BitcodeReader.cpp.
References clang::doc::TemplateSpecializationInfo::Params.
|
static |
Definition at line 804 of file BitcodeReader.cpp.
References ExitOnErr.
| void clang::doc::addTemplateSpecialization | ( | TemplateInfo * | I, |
| TemplateSpecializationInfo && | TSI ) |
Definition at line 810 of file BitcodeReader.cpp.
References clang::doc::TemplateInfo::Specialization.
| llvm::Error clang::doc::addTypeInfo | ( | BaseRecordInfo * | I, |
| MemberTypeInfo && | T ) |
Definition at line 530 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Members.
Definition at line 557 of file BitcodeReader.cpp.
References clang::doc::EnumInfo::BaseType.
| llvm::Error clang::doc::addTypeInfo | ( | FriendInfo * | I, |
| FieldTypeInfo && | T ) |
Definition at line 545 of file BitcodeReader.cpp.
References clang::doc::FriendInfo::Params.
| llvm::Error clang::doc::addTypeInfo | ( | FriendInfo * | I, |
| TypeInfo && | T ) |
Definition at line 552 of file BitcodeReader.cpp.
References clang::doc::FriendInfo::ReturnType.
| llvm::Error clang::doc::addTypeInfo | ( | FunctionInfo * | I, |
| FieldTypeInfo && | T ) |
Definition at line 540 of file BitcodeReader.cpp.
References clang::doc::FunctionInfo::Params.
| llvm::Error clang::doc::addTypeInfo | ( | FunctionInfo * | I, |
| TypeInfo && | T ) |
Definition at line 535 of file BitcodeReader.cpp.
References clang::doc::FunctionInfo::ReturnType.
| llvm::Error clang::doc::addTypeInfo | ( | RecordInfo * | I, |
| MemberTypeInfo && | T ) |
Definition at line 525 of file BitcodeReader.cpp.
References clang::doc::RecordInfo::Members.
|
static |
Definition at line 520 of file BitcodeReader.cpp.
| llvm::Error clang::doc::addTypeInfo | ( | TypedefInfo * | I, |
| TypeInfo && | T ) |
Definition at line 562 of file BitcodeReader.cpp.
References clang::doc::TypedefInfo::Underlying.
Definition at line 567 of file BitcodeReader.cpp.
References clang::doc::VarInfo::Type.
|
static |
Definition at line 191 of file Representation.cpp.
References IT_namespace.
Referenced by clang::doc::Info::getRelativeFilePath(), and clang::doc::Reference::getRelativeFilePath().
| llvm::StringRef clang::doc::commentKindToString | ( | CommentKind | Kind | ) |
Definition at line 53 of file Representation.cpp.
References CK_BlockCommandComment, CK_FullComment, CK_HTMLEndTagComment, CK_HTMLStartTagComment, CK_InlineCommandComment, CK_ParagraphComment, CK_ParamCommandComment, CK_TextComment, CK_TParamCommandComment, CK_Unknown, CK_VerbatimBlockComment, CK_VerbatimBlockLineComment, and CK_VerbatimLineComment.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), and serializeComment().
| llvm::SmallString< 128 > clang::doc::computeRelativePath | ( | llvm::StringRef | Destination, |
| llvm::StringRef | Origin ) |
Definition at line 31 of file File.cpp.
Referenced by clang::doc::MustacheGenerator::getRelativePathToRoot().
| llvm::Error clang::doc::copyFile | ( | llvm::StringRef | FilePath, |
| llvm::StringRef | OutDirectory ) |
Definition at line 15 of file File.cpp.
References OutDirectory().
Referenced by clang::doc::HTMLGenerator::createResources().
| llvm::Error clang::doc::createFileOpenError | ( | StringRef | FileName, |
| std::error_code | EC ) |
Definition at line 51 of file Generators.cpp.
Referenced by clang::doc::MustacheTemplateFile::createMustacheFile(), clang::doc::MustacheGenerator::generateDocumentation(), and clang::doc::MustacheTemplateFile::registerPartialFile().
|
static |
Definition at line 50 of file BitcodeReader.cpp.
|
static |
Definition at line 44 of file BitcodeReader.cpp.
|
static |
Definition at line 107 of file BitcodeReader.cpp.
References F_child_namespace, F_child_record, F_concept, F_default, F_friend, F_namespace, F_parent, F_type, and F_vparent.
|
static |
Definition at line 88 of file BitcodeReader.cpp.
References IT_concept, IT_default, IT_enum, IT_friend, IT_function, IT_namespace, IT_record, IT_typedef, and IT_variable.
|
static |
Definition at line 24 of file BitcodeReader.cpp.
Referenced by parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), parseRecord(), and parseRecord().
|
static |
Definition at line 127 of file BitcodeReader.cpp.
|
static |
Definition at line 134 of file BitcodeReader.cpp.
|
static |
Definition at line 78 of file BitcodeReader.cpp.
|
static |
Definition at line 31 of file BitcodeReader.cpp.
References clang::doc::BitCodeConstants::USRHashSize.
|
static |
Definition at line 63 of file BitcodeReader.cpp.
|
static |
Definition at line 646 of file JSONGenerator.cpp.
References clang::doc::Info::IT, IT_namespace, IT_record, clang::doc::SymbolInfo::MangledName, and clang::doc::Info::Name.
Referenced by clang::doc::JSONGenerator::generateDocumentation().
|
static |
|
static |
Takes the nested "Children" array from a comment Object.
Definition at line 119 of file JSONGenerator.cpp.
Referenced by serializeComment(), and serializeCommonAttributes().
|
static |
Definition at line 140 of file JSONGenerator.cpp.
Referenced by serializeComment().
| llvm::Expected< std::unique_ptr< Generator > > clang::doc::findGeneratorByName | ( | llvm::StringRef | Format | ) |
Definition at line 23 of file Generators.cpp.
Referenced by clang::doc::MustacheGenerator::generateDocumentation().
|
static |
Definition at line 40 of file BitcodeWriter.cpp.
References clang::doc::BitCodeConstants::BoolSize, and generateAbbrev().
|
static |
Definition at line 29 of file MDGenerator.cpp.
Referenced by writeDescription().
|
static |
Definition at line 34 of file BitcodeWriter.cpp.
Referenced by genBoolAbbrev(), genIntAbbrev(), genLocationAbbrev(), genStringAbbrev(), and genSymbolIdAbbrev().
|
static |
Definition at line 344 of file MDGenerator.cpp.
References clang::doc::Index::Children, clang::doc::ClangDocContext::Idx, IT_concept, IT_default, IT_enum, IT_friend, IT_function, IT_namespace, IT_record, IT_typedef, IT_variable, clang::doc::ClangDocContext::OutDirectory, clang::doc::ClangDocContext::ProjectName, and clang::doc::Index::sort().
Referenced by clang::doc::MDGenerator::createResources().
|
static |
Definition at line 47 of file BitcodeWriter.cpp.
References generateAbbrev(), and clang::doc::BitCodeConstants::IntSize.
|
static |
Definition at line 25 of file MDGenerator.cpp.
Referenced by genMarkdown().
|
static |
Definition at line 75 of file BitcodeWriter.cpp.
References clang::doc::BitCodeConstants::BoolSize, generateAbbrev(), clang::doc::BitCodeConstants::LineNumberSize, and clang::doc::BitCodeConstants::StringLengthSize.
|
static |
Definition at line 157 of file MDGenerator.cpp.
References clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, maybeWriteSourceFileRef(), clang::doc::EnumInfo::Members, clang::doc::Info::Name, clang::doc::EnumInfo::Scoped, writeDescription(), and writeLine().
Referenced by clang::doc::MDGenerator::generateDocForInfo(), genMarkdown(), and genMarkdown().
|
static |
Definition at line 178 of file MDGenerator.cpp.
References clang::doc::FunctionInfo::Access, clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, genItalic(), clang::doc::SymbolInfo::IsStatic, maybeWriteSourceFileRef(), clang::doc::Info::Name, clang::doc::FunctionInfo::Params, clang::doc::Reference::QualName, clang::doc::FunctionInfo::ReturnType, clang::doc::TypeInfo::Type, writeDescription(), writeHeader(), and writeLine().
|
static |
Definition at line 203 of file MDGenerator.cpp.
References clang::doc::NamespaceInfo::Children, clang::doc::Info::Description, clang::doc::ScopeChildren::Enums, clang::doc::ScopeChildren::Functions, genMarkdown(), clang::doc::Info::getRelativeFilePath(), clang::doc::Info::Name, clang::doc::ScopeChildren::Namespaces, clang::doc::ScopeChildren::Records, writeDescription(), writeHeader(), writeNameLink(), and writeNewLine().
|
static |
Definition at line 253 of file MDGenerator.cpp.
References clang::doc::RecordInfo::Children, clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, clang::doc::ScopeChildren::Enums, clang::doc::ScopeChildren::Functions, genMarkdown(), genReferenceList(), getTagType(), maybeWriteSourceFileRef(), clang::doc::RecordInfo::Members, clang::doc::Info::Name, clang::doc::RecordInfo::Parents, clang::doc::ScopeChildren::Records, clang::doc::RecordInfo::TagType, clang::doc::RecordInfo::VirtualParents, writeDescription(), writeHeader(), writeLine(), and writeNewLine().
|
static |
Definition at line 309 of file MDGenerator.cpp.
|
static |
Definition at line 34 of file MDGenerator.cpp.
Referenced by genMarkdown().
|
static |
Definition at line 65 of file BitcodeWriter.cpp.
References generateAbbrev(), and clang::doc::BitCodeConstants::StringLengthSize.
|
static |
Definition at line 54 of file BitcodeWriter.cpp.
References generateAbbrev(), clang::doc::BitCodeConstants::USRBitLengthSize, and clang::doc::BitCodeConstants::USRLengthSize.
|
static |
Definition at line 103 of file Representation.cpp.
Referenced by reduceChildren().
| llvm::Expected< CommentInfo * > clang::doc::getCommentInfo | ( | CommentInfo * | I | ) |
Definition at line 503 of file BitcodeReader.cpp.
References clang::doc::CommentInfo::Children.
| llvm::Expected< CommentInfo * > clang::doc::getCommentInfo | ( | ConceptInfo * | I | ) |
Definition at line 508 of file BitcodeReader.cpp.
References clang::doc::Info::Description.
| llvm::Expected< CommentInfo * > clang::doc::getCommentInfo | ( | EnumInfo * | I | ) |
Definition at line 491 of file BitcodeReader.cpp.
References clang::doc::Info::Description.
| llvm::Expected< CommentInfo * > clang::doc::getCommentInfo | ( | EnumValueInfo * | I | ) |
Definition at line 499 of file BitcodeReader.cpp.
References clang::doc::EnumValueInfo::Description.
| llvm::Expected< CommentInfo * > clang::doc::getCommentInfo | ( | FunctionInfo * | I | ) |
Definition at line 475 of file BitcodeReader.cpp.
References clang::doc::Info::Description.
| llvm::Expected< CommentInfo * > clang::doc::getCommentInfo | ( | MemberTypeInfo * | I | ) |
Definition at line 487 of file BitcodeReader.cpp.
References clang::doc::MemberTypeInfo::Description.
| llvm::Expected< CommentInfo * > clang::doc::getCommentInfo | ( | NamespaceInfo * | I | ) |
Definition at line 479 of file BitcodeReader.cpp.
References clang::doc::Info::Description.
| llvm::Expected< CommentInfo * > clang::doc::getCommentInfo | ( | RecordInfo * | I | ) |
Definition at line 483 of file BitcodeReader.cpp.
References clang::doc::Info::Description.
|
static |
Definition at line 470 of file BitcodeReader.cpp.
| llvm::Expected< CommentInfo * > clang::doc::getCommentInfo | ( | TypedefInfo * | I | ) |
Definition at line 495 of file BitcodeReader.cpp.
References clang::doc::TypedefInfo::Description.
| Expected< CommentInfo * > clang::doc::getCommentInfo | ( | VarInfo * | I | ) |
Definition at line 512 of file BitcodeReader.cpp.
References clang::doc::Info::Description.
| std::string clang::doc::getTagType | ( | TagTypeKind | AS | ) |
Definition at line 35 of file Generators.cpp.
Referenced by genMarkdown(), and serializeInfo().
|
static |
References clang::doc::HTMLGenerator::Format.
|
static |
Definition at line 47 of file JSONGenerator.cpp.
References IT_concept, IT_default, IT_enum, IT_friend, IT_function, IT_namespace, IT_record, IT_typedef, and IT_variable.
Referenced by serializeCommonAttributes().
|
static |
Definition at line 515 of file JSONGenerator.cpp.
Referenced by serializeInfo().
|
static |
Insert comments into a key in the Description object.
| Comment | Either an Object or Array, depending on the comment type |
| Key | The type (Brief, Code, etc.) of comment to be inserted |
Definition at line 91 of file JSONGenerator.cpp.
Referenced by serializeComment(), and serializeCommonAttributes().
|
static |
Definition at line 24 of file Mapper.cpp.
|
static |
References clang::doc::JSONGenerator::Format.
Referenced by clang::doc::HTMLGenerator::generateDocForJSON(), and clang::doc::MustacheGenerator::generateDocForJSON().
|
static |
Definition at line 70 of file MDGenerator.cpp.
References writeSourceFileRef().
Referenced by genMarkdown(), genMarkdown(), and genMarkdown().
|
static |
References clang::doc::MDGenerator::Format.
Referenced by clang::doc::serialize::parseBases().
| llvm::Expected< std::unique_ptr< Info > > clang::doc::mergeInfos | ( | std::vector< std::unique_ptr< Info > > & | Values | ) |
Definition at line 126 of file Representation.cpp.
References IT_concept, IT_default, IT_enum, IT_friend, IT_function, IT_namespace, IT_record, IT_typedef, IT_variable, and reduce().
| std::unique_ptr< tooling::FrontendActionFactory > clang::doc::newMapperActionFactory | ( | ClangDocContext | CDCtx | ) |
Definition at line 52 of file ClangDoc.cpp.
|
static |
Definition at line 193 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(), 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.
|
static |
Definition at line 339 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, clang::doc::CommentInfo::Kind, clang::doc::CommentInfo::Name, clang::doc::CommentInfo::ParamName, clang::doc::CommentInfo::SelfClosing, stringToCommentKind(), and clang::doc::CommentInfo::Text.
|
static |
Definition at line 421 of file BitcodeReader.cpp.
References CONCEPT_CONSTRAINT_EXPRESSION, CONCEPT_IS_TYPE, CONCEPT_NAME, CONCEPT_USR, clang::doc::ConceptInfo::ConstraintExpression, decodeRecord(), clang::doc::ConceptInfo::IsType, clang::doc::Info::Name, and clang::doc::Info::USR.
|
static |
Definition at line 145 of file BitcodeReader.cpp.
References VERSION.
Referenced by clang::doc::ClangDocBitcodeReader::readRecord().
|
static |
Definition at line 436 of file BitcodeReader.cpp.
References CONSTRAINT_EXPRESSION, clang::doc::ConstraintInfo::ConstraintExpr, and decodeRecord().
|
static |
Definition at line 216 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::SymbolInfo::DefLoc, ENUM_DEFLOCATION, ENUM_LOCATION, ENUM_NAME, ENUM_SCOPED, ENUM_USR, clang::doc::SymbolInfo::Loc, clang::doc::Info::Name, clang::doc::EnumInfo::Scoped, and clang::doc::Info::USR.
|
static |
Definition at line 252 of file BitcodeReader.cpp.
References decodeRecord(), ENUM_VALUE_EXPR, ENUM_VALUE_NAME, ENUM_VALUE_VALUE, clang::doc::EnumValueInfo::Name, clang::doc::EnumValueInfo::Value, and clang::doc::EnumValueInfo::ValueExpr.
|
static |
Definition at line 303 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::FieldTypeInfo::DefaultValue, FIELD_DEFAULT_VALUE, FIELD_TYPE_IS_BUILTIN, FIELD_TYPE_IS_TEMPLATE, FIELD_TYPE_NAME, clang::doc::TypeInfo::IsBuiltIn, clang::doc::TypeInfo::IsTemplate, and clang::doc::FieldTypeInfo::Name.
|
static |
Definition at line 267 of file BitcodeReader.cpp.
References clang::doc::FunctionInfo::Access, decodeRecord(), clang::doc::SymbolInfo::DefLoc, FUNCTION_ACCESS, FUNCTION_DEFLOCATION, FUNCTION_IS_METHOD, FUNCTION_IS_STATIC, FUNCTION_LOCATION, FUNCTION_NAME, FUNCTION_USR, clang::doc::FunctionInfo::IsMethod, clang::doc::SymbolInfo::IsStatic, clang::doc::SymbolInfo::Loc, clang::doc::Info::Name, and clang::doc::Info::USR.
|
static |
Definition at line 320 of file BitcodeReader.cpp.
References clang::doc::MemberTypeInfo::Access, decodeRecord(), clang::doc::TypeInfo::IsBuiltIn, clang::doc::MemberTypeInfo::IsStatic, clang::doc::TypeInfo::IsTemplate, MEMBER_TYPE_ACCESS, MEMBER_TYPE_IS_BUILTIN, MEMBER_TYPE_IS_STATIC, MEMBER_TYPE_IS_TEMPLATE, MEMBER_TYPE_NAME, and clang::doc::FieldTypeInfo::Name.
|
static |
Definition at line 153 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::Info::Name, NAMESPACE_NAME, NAMESPACE_PATH, NAMESPACE_USR, clang::doc::Info::Path, and clang::doc::Info::USR.
|
static |
Definition at line 168 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::SymbolInfo::DefLoc, clang::doc::RecordInfo::IsTypeDef, clang::doc::SymbolInfo::Loc, clang::doc::SymbolInfo::MangledName, clang::doc::Info::Name, clang::doc::Info::Path, RECORD_DEFLOCATION, RECORD_IS_TYPE_DEF, RECORD_LOCATION, RECORD_MANGLED_NAME, RECORD_NAME, RECORD_PATH, RECORD_TAG_TYPE, RECORD_USR, clang::doc::RecordInfo::TagType, and clang::doc::Info::USR.
|
static |
Definition at line 374 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::Reference::DocumentationFileName, clang::doc::Reference::Name, clang::doc::Reference::Path, clang::doc::Reference::QualName, REFERENCE_FIELD, REFERENCE_FILE, REFERENCE_NAME, REFERENCE_PATH, REFERENCE_QUAL_NAME, REFERENCE_TYPE, REFERENCE_USR, clang::doc::Reference::RefType, and clang::doc::Reference::USR.
|
static |
Definition at line 397 of file BitcodeReader.cpp.
|
static |
Definition at line 413 of file BitcodeReader.cpp.
References clang::doc::TemplateParamInfo::Contents, decodeRecord(), and TEMPLATE_PARAM_CONTENTS.
|
static |
Definition at line 404 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::TemplateSpecializationInfo::SpecializationOf, and TEMPLATE_SPECIALIZATION_OF.
|
static |
Definition at line 235 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::SymbolInfo::DefLoc, clang::doc::TypedefInfo::IsUsing, clang::doc::Info::Name, TYPEDEF_DEFLOCATION, TYPEDEF_IS_USING, TYPEDEF_NAME, TYPEDEF_USR, and clang::doc::Info::USR.
|
static |
Definition at line 290 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::TypeInfo::IsBuiltIn, clang::doc::TypeInfo::IsTemplate, TYPE_IS_BUILTIN, and TYPE_IS_TEMPLATE.
|
static |
Definition at line 444 of file BitcodeReader.cpp.
References decodeRecord(), clang::doc::SymbolInfo::DefLoc, clang::doc::SymbolInfo::IsStatic, clang::doc::Info::Name, clang::doc::Info::USR, VAR_DEFLOCATION, VAR_IS_STATIC, VAR_NAME, and VAR_USR.
|
static |
Definition at line 461 of file BitcodeReader.cpp.
References decodeRecord(), FRIEND_IS_CLASS, and clang::doc::FriendInfo::IsClass.
|
static |
Definition at line 89 of file Representation.cpp.
Referenced by mergeInfos().
|
static |
Definition at line 112 of file Representation.cpp.
References getChildIndexIfExists().
Referenced by clang::doc::NamespaceInfo::merge(), and clang::doc::RecordInfo::merge().
|
static |
Definition at line 354 of file JSONGenerator.cpp.
Referenced by serializeCommonChildren(), serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), and serializeInfo().
|
static |
Definition at line 152 of file JSONGenerator.cpp.
References clang::doc::CommentInfo::Args, clang::doc::CommentInfo::AttrKeys, clang::doc::CommentInfo::AttrValues, clang::doc::CommentInfo::Children, CK_BlockCommandComment, CK_FullComment, CK_HTMLEndTagComment, CK_HTMLStartTagComment, CK_InlineCommandComment, CK_ParagraphComment, CK_ParamCommandComment, CK_TextComment, CK_TParamCommandComment, CK_Unknown, CK_VerbatimBlockComment, CK_VerbatimBlockLineComment, CK_VerbatimLineComment, clang::doc::CommentInfo::CloseName, commentKindToString(), clang::doc::CommentInfo::Direction, clang::doc::CommentInfo::Explicit, extractTextComments(), extractVerbatimComments(), insertComment(), clang::doc::CommentInfo::Kind, clang::doc::CommentInfo::Name, clang::doc::CommentInfo::ParamName, clang::doc::CommentInfo::SelfClosing, serializeComment(), and clang::doc::CommentInfo::Text.
Referenced by serializeComment(), and serializeCommonAttributes().
|
static |
Definition at line 274 of file JSONGenerator.cpp.
References clang::doc::Info::Description, clang::doc::Info::DocumentationFileName, extractTextComments(), infoTypeToString(), insertComment(), clang::doc::Info::IT, IT_namespace, clang::doc::Info::Name, clang::doc::Info::Namespace, clang::doc::Info::Path, RepositoryUrl(), serializeComment(), serializeLocation(), and clang::doc::Info::USR.
Referenced by serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), and serializeInfo().
|
static |
Definition at line 332 of file JSONGenerator.cpp.
References RepositoryUrl(), serializeArray(), serializeInfo(), and SerializeReferenceLambda.
Referenced by serializeInfo(), and serializeInfo().
|
static |
Definition at line 321 of file MDGenerator.cpp.
References clang::doc::Index::Children, clang::doc::ClangDocContext::Idx, clang::doc::ClangDocContext::OutDirectory, clang::doc::ClangDocContext::ProjectName, serializeReference(), and clang::doc::Index::sort().
Referenced by clang::doc::MDGenerator::createResources().
|
static |
Definition at line 376 of file JSONGenerator.cpp.
|
static |
Definition at line 491 of file JSONGenerator.cpp.
References clang::doc::BaseRecordInfo::Access, clang::doc::BaseRecordInfo::IsParent, clang::doc::BaseRecordInfo::IsVirtual, RepositoryUrl(), and serializeInfo().
|
static |
Definition at line 417 of file JSONGenerator.cpp.
References clang::doc::ConceptInfo::ConstraintExpression, clang::doc::ConceptInfo::IsType, RepositoryUrl(), serializeCommonAttributes(), serializeInfo(), and clang::doc::ConceptInfo::Template.
|
static |
Definition at line 371 of file JSONGenerator.cpp.
References clang::doc::ConstraintInfo::ConceptRef, clang::doc::ConstraintInfo::ConstraintExpr, and serializeReference().
Referenced by clang::doc::JSONGenerator::generateDocForInfo(), serializeCommonChildren(), serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), and serializeInfo().
|
static |
Definition at line 462 of file JSONGenerator.cpp.
References clang::doc::EnumInfo::BaseType, clang::doc::EnumInfo::Members, RepositoryUrl(), clang::doc::EnumInfo::Scoped, serializeArray(), serializeCommonAttributes(), and SerializeInfoLambda.
|
static |
Definition at line 454 of file JSONGenerator.cpp.
References clang::doc::EnumValueInfo::Name, clang::doc::EnumValueInfo::Value, and clang::doc::EnumValueInfo::ValueExpr.
|
static |
Definition at line 433 of file JSONGenerator.cpp.
References clang::doc::FieldTypeInfo::Name, clang::doc::Reference::Name, and clang::doc::TypeInfo::Type.
|
static |
Definition at line 499 of file JSONGenerator.cpp.
References clang::doc::FriendInfo::IsClass, clang::doc::FriendInfo::Params, clang::doc::FriendInfo::Ref, clang::doc::FriendInfo::ReturnType, serializeArray(), serializeInfo(), SerializeInfoLambda, serializeReference(), and clang::doc::FriendInfo::Template.
|
static |
Definition at line 438 of file JSONGenerator.cpp.
References clang::doc::SymbolInfo::IsStatic, clang::doc::FunctionInfo::Params, clang::doc::FunctionInfo::ReturnType, serializeArray(), serializeCommonAttributes(), serializeInfo(), SerializeInfoLambda, and clang::doc::FunctionInfo::Template.
|
static |
Definition at line 617 of file JSONGenerator.cpp.
References clang::doc::NamespaceInfo::Children, clang::doc::ScopeChildren::Concepts, clang::doc::ScopeChildren::Functions, GlobalNamespaceID, clang::doc::ScopeChildren::Namespaces, RepositoryUrl(), serializeArray(), serializeCommonAttributes(), serializeCommonChildren(), serializeInfo(), SerializeReferenceLambda, clang::doc::Info::USR, and clang::doc::ScopeChildren::Variables.
|
static |
Definition at line 520 of file JSONGenerator.cpp.
References clang::doc::MemberTypeInfo::Access, clang::doc::RecordInfo::Bases, clang::doc::RecordInfo::Children, clang::doc::RecordInfo::Friends, clang::doc::ScopeChildren::Functions, getTagType(), insertArray(), clang::doc::MemberTypeInfo::IsStatic, clang::doc::RecordInfo::IsTypeDef, clang::doc::SymbolInfo::MangledName, clang::doc::RecordInfo::Members, clang::doc::FieldTypeInfo::Name, clang::doc::Reference::Name, clang::doc::RecordInfo::Parents, RepositoryUrl(), serializeArray(), serializeCommonAttributes(), serializeCommonChildren(), serializeInfo(), SerializeInfoLambda, SerializeReferenceLambda, clang::doc::RecordInfo::TagType, clang::doc::RecordInfo::Template, clang::doc::TypeInfo::Type, and clang::doc::RecordInfo::VirtualParents.
|
static |
References RepositoryUrl().
|
static |
Definition at line 393 of file JSONGenerator.cpp.
References serializeArray(), serializeInfo(), and SerializeInfoLambda.
|
static |
Definition at line 480 of file JSONGenerator.cpp.
References clang::doc::TypedefInfo::IsUsing, RepositoryUrl(), serializeCommonAttributes(), serializeInfo(), clang::doc::TypedefInfo::TypeDeclaration, and clang::doc::TypedefInfo::Underlying.
|
static |
Definition at line 425 of file JSONGenerator.cpp.
References clang::doc::TypeInfo::IsBuiltIn, clang::doc::TypeInfo::IsTemplate, clang::doc::Reference::Name, clang::doc::Reference::QualName, clang::doc::TypeInfo::Type, and clang::doc::Reference::USR.
|
static |
Definition at line 608 of file JSONGenerator.cpp.
References clang::doc::SymbolInfo::IsStatic, RepositoryUrl(), serializeCommonAttributes(), serializeInfo(), and clang::doc::VarInfo::Type.
|
static |
Definition at line 72 of file JSONGenerator.cpp.
References clang::doc::Location::Filename, clang::doc::Location::IsFileInRootDir, RepositoryUrl(), and clang::doc::Location::StartLineNumber.
Referenced by serializeCommonAttributes().
|
static |
Definition at line 320 of file JSONGenerator.cpp.
References clang::doc::Reference::DocumentationFileName, clang::doc::Reference::Name, clang::doc::Reference::Path, clang::doc::Reference::QualName, and clang::doc::Reference::USR.
Referenced by serializeIndex(), serializeInfo(), and serializeInfo().
|
static |
Definition at line 314 of file MDGenerator.cpp.
References writeNameLink().
| CommentKind clang::doc::stringToCommentKind | ( | llvm::StringRef | KindStr | ) |
Definition at line 30 of file Representation.cpp.
References CK_BlockCommandComment, CK_FullComment, CK_HTMLEndTagComment, CK_HTMLStartTagComment, CK_InlineCommandComment, CK_ParagraphComment, CK_ParamCommandComment, CK_TextComment, CK_TParamCommandComment, CK_Unknown, CK_VerbatimBlockComment, CK_VerbatimBlockLineComment, and CK_VerbatimLineComment.
Referenced by clang::doc::serialize::ClangDocCommentVisitor::parseComment(), and parseRecord().
|
static |
Definition at line 77 of file MDGenerator.cpp.
References clang::doc::CommentInfo::AttrKeys, clang::doc::CommentInfo::AttrValues, clang::doc::CommentInfo::Children, CK_BlockCommandComment, CK_FullComment, CK_HTMLEndTagComment, CK_HTMLStartTagComment, CK_InlineCommandComment, CK_ParagraphComment, CK_ParamCommandComment, CK_TextComment, CK_TParamCommandComment, CK_Unknown, CK_VerbatimBlockComment, CK_VerbatimBlockLineComment, CK_VerbatimLineComment, clang::doc::CommentInfo::Direction, clang::doc::CommentInfo::Explicit, genEmphasis(), clang::doc::CommentInfo::Kind, clang::doc::CommentInfo::Name, clang::doc::CommentInfo::ParamName, clang::doc::CommentInfo::SelfClosing, clang::doc::CommentInfo::Text, writeDescription(), writeLine(), and writeNewLine().
Referenced by genMarkdown(), genMarkdown(), genMarkdown(), genMarkdown(), and writeDescription().
|
static |
Definition at line 51 of file MDGenerator.cpp.
Referenced by genMarkdown(), genMarkdown(), and genMarkdown().
|
static |
Definition at line 45 of file MDGenerator.cpp.
Referenced by genMarkdown(), genMarkdown(), genMarkdown(), and writeDescription().
|
static |
Definition at line 147 of file MDGenerator.cpp.
References clang::doc::Reference::getFileBaseName(), clang::doc::Reference::getRelativeFilePath(), and clang::doc::Reference::Name.
Referenced by genMarkdown(), and serializeReference().
|
static |
Definition at line 49 of file MDGenerator.cpp.
Referenced by genMarkdown(), genMarkdown(), and writeDescription().
|
static |
Definition at line 55 of file MDGenerator.cpp.
References clang::doc::Location::Filename, clang::doc::ClangDocContext::RepositoryLinePrefix, clang::doc::ClangDocContext::RepositoryUrl, and clang::doc::Location::StartLineNumber.
Referenced by maybeWriteSourceFileRef().
|
static |
References clang::doc::YAMLGenerator::Format.
Definition at line 161 of file BitcodeWriter.h.
|
static |
Definition at line 109 of file BitcodeWriter.cpp.
Definition at line 17 of file BitcodeWriter.cpp.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::FunctionInfo::merge(), clang::doc::VarInfo::merge(), and clang::doc::Info::mergeBase().
|
constexpr |
Definition at line 32 of file Representation.h.
Referenced by serializeInfo().
|
static |
Definition at line 245 of file Generators.cpp.
| volatile int clang::doc::HTMLGeneratorAnchorSource = 0 |
Definition at line 180 of file HTMLGenerator.cpp.
|
static |
Definition at line 246 of file Generators.cpp.
| volatile int clang::doc::JSONGeneratorAnchorSource = 0 |
Definition at line 731 of file JSONGenerator.cpp.
|
static |
Definition at line 244 of file Generators.cpp.
| volatile int clang::doc::MDGeneratorAnchorSource = 0 |
Definition at line 505 of file MDGenerator.cpp.
|
static |
Definition at line 28 of file HTMLGenerator.cpp.
Referenced by clang::doc::HTMLGenerator::generateDocForJSON(), and clang::doc::HTMLGenerator::setupTemplateFiles().
Definition at line 162 of file BitcodeWriter.h.
|
static |
Definition at line 144 of file BitcodeWriter.cpp.
Definition at line 243 of file BitcodeWriter.cpp.
|
static |
Definition at line 30 of file HTMLGenerator.cpp.
Referenced by clang::doc::HTMLGenerator::generateDocForJSON(), and clang::doc::HTMLGenerator::setupTemplateFiles().
|
static |
Definition at line 40 of file JSONGenerator.cpp.
Referenced by serializeInfo(), serializeInfo(), serializeInfo(), serializeInfo(), and serializeInfo().
|
static |
Definition at line 43 of file JSONGenerator.cpp.
Referenced by serializeCommonChildren(), serializeInfo(), and serializeInfo().
|
static |
Definition at line 21 of file Mapper.cpp.
|
static |
Definition at line 22 of file Mapper.cpp.
|
static |
Definition at line 30 of file BitcodeWriter.h.
Referenced by clang::doc::ClangDocBitcodeReader::readBitcode().
|
static |
Definition at line 243 of file Generators.cpp.
| volatile int clang::doc::YAMLGeneratorAnchorSource = 0 |
Definition at line 426 of file YAMLGenerator.cpp.