clang-tools
7.0.0
|
#include <BitcodeWriter.h>
Public Member Functions | |
ClangDocBitcodeWriter (llvm::BitstreamWriter &Stream) | |
bool | dispatchInfoForWrite (Info *I) |
void | emitBlock (const NamespaceInfo &I) |
void | emitBlock (const RecordInfo &I) |
void | emitBlock (const FunctionInfo &I) |
void | emitBlock (const EnumInfo &I) |
void | emitBlock (const TypeInfo &B) |
void | emitBlock (const FieldTypeInfo &B) |
void | emitBlock (const MemberTypeInfo &B) |
void | emitBlock (const CommentInfo &B) |
void | emitBlock (const Reference &B, FieldId F) |
Definition at line 120 of file BitcodeWriter.h.
|
inline |
Definition at line 122 of file BitcodeWriter.h.
References Loc, and clang::doc::BitCodeConstants::SubblockIDSize.
bool clang::doc::ClangDocBitcodeWriter::dispatchInfoForWrite | ( | Info * | I | ) |
Definition at line 496 of file BitcodeWriter.cpp.
References clang::doc::Info::IT, clang::doc::IT_enum, clang::doc::IT_function, clang::doc::IT_namespace, and clang::doc::IT_record.
Referenced by main().
void clang::doc::ClangDocBitcodeWriter::emitBlock | ( | const NamespaceInfo & | I | ) |
Definition at line 429 of file BitcodeWriter.cpp.
References clang::doc::BI_NAMESPACE_BLOCK_ID, clang::doc::Info::Description, clang::doc::F_namespace, clang::doc::Info::Name, clang::doc::Info::Namespace, and clang::doc::Info::USR.
Referenced by clang::doc::serialize::serialize().
void clang::doc::ClangDocBitcodeWriter::emitBlock | ( | const RecordInfo & | I | ) |
Definition at line 456 of file BitcodeWriter.cpp.
References clang::doc::BI_RECORD_BLOCK_ID, clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, clang::doc::F_namespace, clang::doc::F_parent, clang::doc::F_vparent, clang::doc::SymbolInfo::Loc, clang::doc::RecordInfo::Members, clang::doc::Info::Name, clang::doc::Info::Namespace, clang::doc::RecordInfo::Parents, clang::doc::RECORD_DEFLOCATION, clang::doc::RECORD_LOCATION, clang::doc::RECORD_TAG_TYPE, clang::doc::RecordInfo::TagType, clang::doc::Info::USR, and clang::doc::RecordInfo::VirtualParents.
void clang::doc::ClangDocBitcodeWriter::emitBlock | ( | const FunctionInfo & | I | ) |
Definition at line 477 of file BitcodeWriter.cpp.
References clang::doc::BI_FUNCTION_BLOCK_ID, clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, clang::doc::F_namespace, clang::doc::F_parent, clang::doc::FUNCTION_DEFLOCATION, clang::doc::FUNCTION_IS_METHOD, clang::doc::FUNCTION_LOCATION, clang::doc::FunctionInfo::IsMethod, clang::doc::SymbolInfo::Loc, clang::doc::Info::Name, clang::doc::Info::Namespace, clang::doc::FunctionInfo::Params, clang::doc::FunctionInfo::Parent, clang::doc::FunctionInfo::ReturnType, and clang::doc::Info::USR.
void clang::doc::ClangDocBitcodeWriter::emitBlock | ( | const EnumInfo & | I | ) |
Definition at line 439 of file BitcodeWriter.cpp.
References clang::doc::BI_ENUM_BLOCK_ID, clang::doc::SymbolInfo::DefLoc, clang::doc::Info::Description, clang::doc::ENUM_DEFLOCATION, clang::doc::ENUM_LOCATION, clang::doc::ENUM_MEMBER, clang::doc::ENUM_SCOPED, clang::doc::F_namespace, clang::doc::SymbolInfo::Loc, clang::doc::EnumInfo::Members, clang::doc::Info::Name, clang::doc::Info::Namespace, clang::doc::EnumInfo::Scoped, and clang::doc::Info::USR.
void clang::doc::ClangDocBitcodeWriter::emitBlock | ( | const TypeInfo & | B | ) |
Definition at line 389 of file BitcodeWriter.cpp.
References clang::doc::BI_TYPE_BLOCK_ID, clang::doc::F_type, and clang::doc::TypeInfo::Type.
void clang::doc::ClangDocBitcodeWriter::emitBlock | ( | const FieldTypeInfo & | B | ) |
Definition at line 394 of file BitcodeWriter.cpp.
References clang::doc::BI_FIELD_TYPE_BLOCK_ID, clang::doc::F_type, clang::doc::FIELD_TYPE_NAME, clang::doc::FieldTypeInfo::Name, and clang::doc::TypeInfo::Type.
void clang::doc::ClangDocBitcodeWriter::emitBlock | ( | const MemberTypeInfo & | B | ) |
Definition at line 400 of file BitcodeWriter.cpp.
References clang::doc::MemberTypeInfo::Access, clang::doc::BI_MEMBER_TYPE_BLOCK_ID, clang::doc::F_type, clang::doc::MEMBER_TYPE_ACCESS, clang::doc::MEMBER_TYPE_NAME, clang::doc::FieldTypeInfo::Name, and clang::doc::TypeInfo::Type.
void clang::doc::ClangDocBitcodeWriter::emitBlock | ( | const CommentInfo & | B | ) |
Definition at line 407 of file BitcodeWriter.cpp.
References clang::doc::CommentInfo::Args, clang::doc::CommentInfo::AttrKeys, clang::doc::CommentInfo::AttrValues, clang::doc::BI_COMMENT_BLOCK_ID, clang::doc::CommentInfo::Children, clang::doc::CommentInfo::CloseName, clang::doc::COMMENT_ARG, clang::doc::COMMENT_ATTRKEY, clang::doc::COMMENT_ATTRVAL, clang::doc::COMMENT_CLOSENAME, clang::doc::COMMENT_DIRECTION, clang::doc::COMMENT_EXPLICIT, clang::doc::COMMENT_KIND, clang::doc::COMMENT_NAME, clang::doc::COMMENT_PARAMNAME, clang::doc::COMMENT_SELFCLOSING, clang::doc::COMMENT_TEXT, clang::doc::CommentInfo::Direction, clang::doc::CommentInfo::Explicit, clang::doc::CommentInfo::Kind, clang::doc::CommentInfo::Name, clang::doc::CommentInfo::ParamName, clang::doc::CommentInfo::SelfClosing, and clang::doc::CommentInfo::Text.
Definition at line 379 of file BitcodeWriter.cpp.
References clang::doc::BI_REFERENCE_BLOCK_ID, clang::doc::Reference::Name, clang::doc::REFERENCE_NAME, clang::doc::REFERENCE_TYPE, clang::doc::REFERENCE_USR, clang::doc::Reference::RefType, and clang::doc::Reference::USR.