clang  14.0.0git
Classes | Namespaces | Typedefs | Enumerations | Variables
APINotesFormat.h File Reference
#include "llvm/ADT/PointerEmbeddedInt.h"
#include "llvm/Bitcode/BitcodeConvenience.h"
Include dependency graph for APINotesFormat.h:

Go to the source code of this file.

Classes

struct  clang::api_notes::StoredObjCSelector
 A stored Objective-C selector. More...
 

Namespaces

 clang
 
 clang::api_notes
 
 clang::api_notes::control_block
 
 clang::api_notes::identifier_block
 
 clang::api_notes::objc_context_block
 
 clang::api_notes::objc_property_block
 
 clang::api_notes::objc_method_block
 
 clang::api_notes::objc_selector_block
 
 clang::api_notes::global_variable_block
 
 clang::api_notes::global_function_block
 
 clang::api_notes::tag_block
 
 clang::api_notes::typedef_block
 
 clang::api_notes::enum_constant_block
 

Typedefs

using clang::api_notes::IdentifierID = llvm::PointerEmbeddedInt< unsigned, 31 >
 
using clang::api_notes::IdentifierIDField = llvm::BCVBR< 16 >
 
using clang::api_notes::SelectorID = llvm::PointerEmbeddedInt< unsigned, 31 >
 
using clang::api_notes::SelectorIDField = llvm::BCVBR< 16 >
 
using clang::api_notes::control_block::MetadataLayout = llvm::BCRecordLayout< METADATA, llvm::BCFixed< 16 >, llvm::BCFixed< 16 > >
 
using clang::api_notes::control_block::ModuleNameLayout = llvm::BCRecordLayout< MODULE_NAME, llvm::BCBlob >
 
using clang::api_notes::control_block::ModuleOptionsLayout = llvm::BCRecordLayout< MODULE_OPTIONS, llvm::BCFixed< 1 > >
 
using clang::api_notes::control_block::SourceFileLayout = llvm::BCRecordLayout< SOURCE_FILE, llvm::BCVBR< 16 >, llvm::BCVBR< 16 > >
 
using clang::api_notes::identifier_block::IdentifierDataLayout = llvm::BCRecordLayout< IDENTIFIER_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 
using clang::api_notes::objc_context_block::ObjCContextIDLayout = llvm::BCRecordLayout< OBJC_CONTEXT_ID_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 
using clang::api_notes::objc_context_block::ObjCContextInfoLayout = llvm::BCRecordLayout< OBJC_CONTEXT_INFO_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 
using clang::api_notes::objc_property_block::ObjCPropertyDataLayout = llvm::BCRecordLayout< OBJC_PROPERTY_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 
using clang::api_notes::objc_method_block::ObjCMethodDataLayout = llvm::BCRecordLayout< OBJC_METHOD_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 
using clang::api_notes::objc_selector_block::ObjCSelectorDataLayout = llvm::BCRecordLayout< OBJC_SELECTOR_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 
using clang::api_notes::global_variable_block::GlobalVariableDataLayout = llvm::BCRecordLayout< GLOBAL_VARIABLE_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 
using clang::api_notes::global_function_block::GlobalFunctionDataLayout = llvm::BCRecordLayout< GLOBAL_FUNCTION_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 
using clang::api_notes::tag_block::TagDataLayout = llvm::BCRecordLayout< TAG_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 
using clang::api_notes::typedef_block::TypedefDataLayout = llvm::BCRecordLayout< TYPEDEF_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 
using clang::api_notes::enum_constant_block::EnumConstantDataLayout = llvm::BCRecordLayout< ENUM_CONSTANT_DATA, llvm::BCVBR< 16 >, llvm::BCBlob >
 

Enumerations

enum  clang::api_notes::BlockID {
  clang::api_notes::CONTROL_BLOCK_ID = llvm::bitc::FIRST_APPLICATION_BLOCKID, clang::api_notes::IDENTIFIER_BLOCK_ID, clang::api_notes::OBJC_CONTEXT_BLOCK_ID, clang::api_notes::OBJC_PROPERTY_BLOCK_ID,
  clang::api_notes::OBJC_METHOD_BLOCK_ID, clang::api_notes::OBJC_SELECTOR_BLOCK_ID, clang::api_notes::GLOBAL_VARIABLE_BLOCK_ID, clang::api_notes::GLOBAL_FUNCTION_BLOCK_ID,
  clang::api_notes::TAG_BLOCK_ID, clang::api_notes::TYPEDEF_BLOCK_ID, clang::api_notes::ENUM_CONSTANT_BLOCK_ID
}
 The various types of blocks that can occur within a API notes file. More...
 
enum  { clang::api_notes::control_block::METADATA = 1, clang::api_notes::control_block::MODULE_NAME = 2, clang::api_notes::control_block::MODULE_OPTIONS = 3, clang::api_notes::control_block::SOURCE_FILE = 4 }
 
enum  { clang::api_notes::identifier_block::IDENTIFIER_DATA = 1 }
 
enum  { clang::api_notes::objc_context_block::OBJC_CONTEXT_ID_DATA = 1, clang::api_notes::objc_context_block::OBJC_CONTEXT_INFO_DATA = 2 }
 
enum  { clang::api_notes::objc_property_block::OBJC_PROPERTY_DATA = 1 }
 
enum  { clang::api_notes::objc_method_block::OBJC_METHOD_DATA = 1 }
 
enum  { clang::api_notes::objc_selector_block::OBJC_SELECTOR_DATA = 1 }
 
enum  { clang::api_notes::global_variable_block::GLOBAL_VARIABLE_DATA = 1 }
 
enum  { clang::api_notes::global_function_block::GLOBAL_FUNCTION_DATA = 1 }
 
enum  { clang::api_notes::tag_block::TAG_DATA = 1 }
 
enum  { clang::api_notes::typedef_block::TYPEDEF_DATA = 1 }
 
enum  { clang::api_notes::enum_constant_block::ENUM_CONSTANT_DATA = 1 }
 

Variables

const unsigned char clang::api_notes::API_NOTES_SIGNATURE [] = {0xE2, 0x9C, 0xA8, 0x01}
 Magic number for API notes files. More...
 
const uint16_t clang::api_notes::VERSION_MAJOR = 0
 API notes file major version number. More...
 
const uint16_t clang::api_notes::VERSION_MINOR = 24
 API notes file minor version number. More...