clang-tools 20.0.0git
Namespaces | Typedefs | Functions
BitcodeReader.cpp File Reference
#include "BitcodeReader.h"
#include "llvm/ADT/IndexedMap.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>

Go to the source code of this file.

Namespaces

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

Typedefs

using clang::doc::Record = llvm::SmallVector< uint64_t, 1024 >
 

Functions

llvm::Error clang::doc::decodeRecord (const Record &R, llvm::SmallVectorImpl< char > &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::decodeRecord (const Record &R, SymbolID &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::decodeRecord (const Record &R, bool &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::decodeRecord (const Record &R, int &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::decodeRecord (const Record &R, AccessSpecifier &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::decodeRecord (const Record &R, TagTypeKind &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::decodeRecord (const Record &R, std::optional< Location > &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::decodeRecord (const Record &R, InfoType &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::decodeRecord (const Record &R, FieldId &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::decodeRecord (const Record &R, llvm::SmallVectorImpl< llvm::SmallString< 16 > > &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::decodeRecord (const Record &R, llvm::SmallVectorImpl< Location > &Field, llvm::StringRef Blob)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, const unsigned VersionNo)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, NamespaceInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, RecordInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, BaseRecordInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, EnumInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TypedefInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, EnumValueInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, FunctionInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TypeInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, FieldTypeInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, MemberTypeInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, CommentInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, Reference *I, FieldId &F)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TemplateInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TemplateSpecializationInfo *I)
 
llvm::Error clang::doc::parseRecord (const Record &R, unsigned ID, llvm::StringRef Blob, TemplateParamInfo *I)
 
template<typename T >
llvm::Expected< CommentInfo * > clang::doc::getCommentInfo (T I)
 
template<>
llvm::Expected< CommentInfo * > clang::doc::getCommentInfo (FunctionInfo *I)
 
template<>
llvm::Expected< CommentInfo * > clang::doc::getCommentInfo (NamespaceInfo *I)
 
template<>
llvm::Expected< CommentInfo * > clang::doc::getCommentInfo (RecordInfo *I)
 
template<>
llvm::Expected< CommentInfo * > clang::doc::getCommentInfo (MemberTypeInfo *I)
 
template<>
llvm::Expected< CommentInfo * > clang::doc::getCommentInfo (EnumInfo *I)
 
template<>
llvm::Expected< CommentInfo * > clang::doc::getCommentInfo (TypedefInfo *I)
 
template<>
llvm::Expected< CommentInfo * > clang::doc::getCommentInfo (EnumValueInfo *I)
 
template<>
llvm::Expected< CommentInfo * > clang::doc::getCommentInfo (CommentInfo *I)
 
template<>
llvm::Expected< CommentInfo * > clang::doc::getCommentInfo (std::unique_ptr< CommentInfo > &I)
 
template<typename T , typename TTypeInfo >
llvm::Error clang::doc::addTypeInfo (T I, TTypeInfo &&TI)
 
template<>
llvm::Error clang::doc::addTypeInfo (RecordInfo *I, MemberTypeInfo &&T)
 
template<>
llvm::Error clang::doc::addTypeInfo (BaseRecordInfo *I, MemberTypeInfo &&T)
 
template<>
llvm::Error clang::doc::addTypeInfo (FunctionInfo *I, TypeInfo &&T)
 
template<>
llvm::Error clang::doc::addTypeInfo (FunctionInfo *I, FieldTypeInfo &&T)
 
template<>
llvm::Error clang::doc::addTypeInfo (EnumInfo *I, TypeInfo &&T)
 
template<>
llvm::Error clang::doc::addTypeInfo (TypedefInfo *I, TypeInfo &&T)
 
template<typename T >
llvm::Error clang::doc::addReference (T I, Reference &&R, FieldId F)
 
template<>
llvm::Error clang::doc::addReference (TypeInfo *I, Reference &&R, FieldId F)
 
template<>
llvm::Error clang::doc::addReference (FieldTypeInfo *I, Reference &&R, FieldId F)
 
template<>
llvm::Error clang::doc::addReference (MemberTypeInfo *I, Reference &&R, FieldId F)
 
template<>
llvm::Error clang::doc::addReference (EnumInfo *I, Reference &&R, FieldId F)
 
template<>
llvm::Error clang::doc::addReference (TypedefInfo *I, Reference &&R, FieldId F)
 
template<>
llvm::Error clang::doc::addReference (NamespaceInfo *I, Reference &&R, FieldId F)
 
template<>
llvm::Error clang::doc::addReference (FunctionInfo *I, Reference &&R, FieldId F)
 
template<>
llvm::Error clang::doc::addReference (RecordInfo *I, Reference &&R, FieldId F)
 
template<typename T , typename ChildInfoType >
void clang::doc::addChild (T I, ChildInfoType &&R)
 
template<>
void clang::doc::addChild (NamespaceInfo *I, FunctionInfo &&R)
 
template<>
void clang::doc::addChild (NamespaceInfo *I, EnumInfo &&R)
 
template<>
void clang::doc::addChild (NamespaceInfo *I, TypedefInfo &&R)
 
template<>
void clang::doc::addChild (RecordInfo *I, FunctionInfo &&R)
 
template<>
void clang::doc::addChild (RecordInfo *I, EnumInfo &&R)
 
template<>
void clang::doc::addChild (RecordInfo *I, TypedefInfo &&R)
 
template<>
void clang::doc::addChild (EnumInfo *I, EnumValueInfo &&R)
 
template<>
void clang::doc::addChild (RecordInfo *I, BaseRecordInfo &&R)
 
template<>
void clang::doc::addChild (BaseRecordInfo *I, FunctionInfo &&R)
 
template<typename T >
void clang::doc::addTemplateParam (T I, TemplateParamInfo &&P)
 
template<>
void clang::doc::addTemplateParam (TemplateInfo *I, TemplateParamInfo &&P)
 
template<>
void clang::doc::addTemplateParam (TemplateSpecializationInfo *I, TemplateParamInfo &&P)
 
template<typename T >
void clang::doc::addTemplate (T I, TemplateInfo &&P)
 
template<>
void clang::doc::addTemplate (RecordInfo *I, TemplateInfo &&P)
 
template<>
void clang::doc::addTemplate (FunctionInfo *I, TemplateInfo &&P)
 
template<typename T >
void clang::doc::addTemplateSpecialization (T I, TemplateSpecializationInfo &&TSI)
 
template<>
void clang::doc::addTemplateSpecialization (TemplateInfo *I, TemplateSpecializationInfo &&TSI)