LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::pdb::Variant Struct Reference

#include "llvm/DebugInfo/PDB/PDBTypes.h"

Collaboration diagram for llvm::pdb::Variant:
Collaboration graph
[legend]

Public Member Functions

 Variant ()=default
 
 Variant (const Variant &Other)
 
 ~Variant ()
 
bool operator== (const Variant &Other) const
 
bool operator!= (const Variant &Other) const
 
Variantoperator= (const Variant &Other)
 

Public Attributes

PDB_VariantType Type = PDB_VariantType::Empty
 
union {
   bool   Bool
 
   int8_t   Int8
 
   int16_t   Int16
 
   int32_t   Int32
 
   int64_t   Int64
 
   float   Single
 
   double   Double
 
   uint8_t   UInt8
 
   uint16_t   UInt16
 
   uint32_t   UInt32
 
   uint64_t   UInt64
 
   char *   String
 
Value
 

Detailed Description

Definition at line 301 of file PDBTypes.h.

Constructor & Destructor Documentation

◆ Variant() [1/2]

llvm::pdb::Variant::Variant ( )
default

◆ Variant() [2/2]

llvm::pdb::Variant::Variant ( const Variant Other)
inline

Definition at line 304 of file PDBTypes.h.

◆ ~Variant()

llvm::pdb::Variant::~Variant ( )
inline

Definition at line 308 of file PDBTypes.h.

References llvm::pdb::String.

Member Function Documentation

◆ operator!=()

bool llvm::pdb::Variant::operator!= ( const Variant Other) const
inline

Definition at line 356 of file PDBTypes.h.

◆ operator=()

Variant& llvm::pdb::Variant::operator= ( const Variant Other)
inline

Definition at line 357 of file PDBTypes.h.

References llvm::pdb::String, String, Type, and Value.

◆ operator==()

bool llvm::pdb::Variant::operator== ( const Variant Other) const
inline

Member Data Documentation

◆ Bool

bool llvm::pdb::Variant::Bool

Definition at line 315 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<().

◆ Double

double llvm::pdb::Variant::Double

Definition at line 321 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<().

◆ Int16

int16_t llvm::pdb::Variant::Int16

Definition at line 317 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<().

◆ Int32

int32_t llvm::pdb::Variant::Int32

Definition at line 318 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<().

◆ Int64

int64_t llvm::pdb::Variant::Int64

Definition at line 319 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<().

◆ Int8

int8_t llvm::pdb::Variant::Int8

Definition at line 316 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<().

◆ Single

float llvm::pdb::Variant::Single

Definition at line 320 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<().

◆ String

char* llvm::pdb::Variant::String

◆ Type

PDB_VariantType llvm::pdb::Variant::Type = PDB_VariantType::Empty

◆ UInt16

uint16_t llvm::pdb::Variant::UInt16

Definition at line 323 of file PDBTypes.h.

◆ UInt32

uint32_t llvm::pdb::Variant::UInt32

Definition at line 324 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<().

◆ UInt64

uint64_t llvm::pdb::Variant::UInt64

Definition at line 325 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<().

◆ UInt8

uint8_t llvm::pdb::Variant::UInt8

Definition at line 322 of file PDBTypes.h.

Referenced by llvm::pdb::operator<<().

◆ Value

union { ... } llvm::pdb::Variant::Value

The documentation for this struct was generated from the following file: