clang-tools 20.0.0git
Classes | Namespaces | Enumerations | Variables
BitcodeWriter.h File Reference
#include "Representation.h"
#include "clang/AST/AST.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Bitstream/BitstreamWriter.h"
#include <initializer_list>
#include <vector>

Go to the source code of this file.

Classes

struct  clang::doc::BitCodeConstants
 
class  clang::doc::ClangDocBitcodeWriter
 

Namespaces

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

Enumerations

enum  clang::doc::BlockId {
  clang::doc::BI_VERSION_BLOCK_ID = llvm::bitc::FIRST_APPLICATION_BLOCKID , clang::doc::BI_NAMESPACE_BLOCK_ID , clang::doc::BI_ENUM_BLOCK_ID , clang::doc::BI_ENUM_VALUE_BLOCK_ID ,
  clang::doc::BI_TYPE_BLOCK_ID , clang::doc::BI_FIELD_TYPE_BLOCK_ID , clang::doc::BI_MEMBER_TYPE_BLOCK_ID , clang::doc::BI_RECORD_BLOCK_ID ,
  clang::doc::BI_BASE_RECORD_BLOCK_ID , clang::doc::BI_FUNCTION_BLOCK_ID , clang::doc::BI_COMMENT_BLOCK_ID , clang::doc::BI_REFERENCE_BLOCK_ID ,
  clang::doc::BI_TEMPLATE_BLOCK_ID , clang::doc::BI_TEMPLATE_SPECIALIZATION_BLOCK_ID , clang::doc::BI_TEMPLATE_PARAM_BLOCK_ID , clang::doc::BI_TYPEDEF_BLOCK_ID ,
  clang::doc::BI_LAST , clang::doc::BI_FIRST = BI_VERSION_BLOCK_ID
}
 
enum  clang::doc::RecordId {
  clang::doc::VERSION = 1 , clang::doc::FUNCTION_USR , clang::doc::FUNCTION_NAME , clang::doc::FUNCTION_DEFLOCATION ,
  clang::doc::FUNCTION_LOCATION , clang::doc::FUNCTION_ACCESS , clang::doc::FUNCTION_IS_METHOD , clang::doc::COMMENT_KIND ,
  clang::doc::COMMENT_TEXT , clang::doc::COMMENT_NAME , clang::doc::COMMENT_DIRECTION , clang::doc::COMMENT_PARAMNAME ,
  clang::doc::COMMENT_CLOSENAME , clang::doc::COMMENT_SELFCLOSING , clang::doc::COMMENT_EXPLICIT , clang::doc::COMMENT_ATTRKEY ,
  clang::doc::COMMENT_ATTRVAL , clang::doc::COMMENT_ARG , clang::doc::FIELD_TYPE_NAME , clang::doc::FIELD_DEFAULT_VALUE ,
  clang::doc::MEMBER_TYPE_NAME , clang::doc::MEMBER_TYPE_ACCESS , clang::doc::NAMESPACE_USR , clang::doc::NAMESPACE_NAME ,
  clang::doc::NAMESPACE_PATH , clang::doc::ENUM_USR , clang::doc::ENUM_NAME , clang::doc::ENUM_DEFLOCATION ,
  clang::doc::ENUM_LOCATION , clang::doc::ENUM_SCOPED , clang::doc::ENUM_VALUE_NAME , clang::doc::ENUM_VALUE_VALUE ,
  clang::doc::ENUM_VALUE_EXPR , clang::doc::RECORD_USR , clang::doc::RECORD_NAME , clang::doc::RECORD_PATH ,
  clang::doc::RECORD_DEFLOCATION , clang::doc::RECORD_LOCATION , clang::doc::RECORD_TAG_TYPE , clang::doc::RECORD_IS_TYPE_DEF ,
  clang::doc::BASE_RECORD_USR , clang::doc::BASE_RECORD_NAME , clang::doc::BASE_RECORD_PATH , clang::doc::BASE_RECORD_TAG_TYPE ,
  clang::doc::BASE_RECORD_IS_VIRTUAL , clang::doc::BASE_RECORD_ACCESS , clang::doc::BASE_RECORD_IS_PARENT , clang::doc::REFERENCE_USR ,
  clang::doc::REFERENCE_NAME , clang::doc::REFERENCE_QUAL_NAME , clang::doc::REFERENCE_TYPE , clang::doc::REFERENCE_PATH ,
  clang::doc::REFERENCE_FIELD , clang::doc::TEMPLATE_PARAM_CONTENTS , clang::doc::TEMPLATE_SPECIALIZATION_OF , clang::doc::TYPEDEF_USR ,
  clang::doc::TYPEDEF_NAME , clang::doc::TYPEDEF_DEFLOCATION , clang::doc::TYPEDEF_IS_USING , clang::doc::RI_LAST ,
  clang::doc::RI_FIRST = VERSION
}
 
enum class  clang::doc::FieldId {
  clang::doc::F_default , clang::doc::F_namespace , clang::doc::F_parent , clang::doc::F_vparent ,
  clang::doc::F_type , clang::doc::F_child_namespace , clang::doc::F_child_record
}
 

Variables

static const unsigned clang::doc::VersionNumber = 3
 
static constexpr unsigned clang::doc::BlockIdCount = BI_LAST - BI_FIRST
 
static constexpr unsigned clang::doc::RecordIdCount = RI_LAST - RI_FIRST