LLVM
15.0.0git
|
#include "llvm/DebugInfo/PDB/PDBTypes.h"
Public Member Functions | |
Variant ()=default | |
Variant (bool V) | |
Variant (int8_t V) | |
Variant (int16_t V) | |
Variant (int32_t V) | |
Variant (int64_t V) | |
Variant (float V) | |
Variant (double V) | |
Variant (uint8_t V) | |
Variant (uint16_t V) | |
Variant (uint32_t V) | |
Variant (uint64_t V) | |
Variant (const Variant &Other) | |
~Variant () | |
bool | isIntegralType () const |
unsigned | getBitWidth () const |
APSInt | toAPSInt () const |
APFloat | toAPFloat () const |
bool | operator== (const Variant &Other) const |
bool | operator!= (const Variant &Other) const |
Variant & | operator= (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 |
Definition at line 411 of file PDBTypes.h.
|
default |
|
inlineexplicit |
Definition at line 414 of file PDBTypes.h.
|
inlineexplicit |
Definition at line 415 of file PDBTypes.h.
|
inlineexplicit |
Definition at line 416 of file PDBTypes.h.
|
inlineexplicit |
Definition at line 419 of file PDBTypes.h.
|
inlineexplicit |
Definition at line 422 of file PDBTypes.h.
|
inlineexplicit |
Definition at line 425 of file PDBTypes.h.
|
inlineexplicit |
Definition at line 428 of file PDBTypes.h.
|
inlineexplicit |
Definition at line 431 of file PDBTypes.h.
|
inlineexplicit |
Definition at line 434 of file PDBTypes.h.
|
inlineexplicit |
Definition at line 437 of file PDBTypes.h.
|
inlineexplicit |
Definition at line 440 of file PDBTypes.h.
Definition at line 444 of file PDBTypes.h.
References Other.
|
inline |
Definition at line 448 of file PDBTypes.h.
References llvm::pdb::String.
|
inline |
|
inline |
Definition at line 578 of file PDBTypes.h.
References Other.
Definition at line 579 of file PDBTypes.h.
References Other, and llvm::pdb::String.
|
inline |
Definition at line 534 of file PDBTypes.h.
References llvm::lltok::APFloat, assert(), llvm::pdb::Double, llvm::APFloat::getZero(), llvm::APFloatBase::IEEEsingle(), llvm::pdb::Int32, llvm::pdb::Int64, llvm::pdb::Single, llvm::pdb::UInt32, and llvm::pdb::UInt64.
|
inline |
Definition at line 515 of file PDBTypes.h.
References llvm::lltok::APSInt, assert(), Bool, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, and VARIANT_APSINT.
bool llvm::pdb::Variant::Bool |
Definition at line 455 of file PDBTypes.h.
Referenced by getBitWidth(), isIntegralType(), operator==(), and toAPSInt().
double llvm::pdb::Variant::Double |
Definition at line 461 of file PDBTypes.h.
Referenced by getBitWidth(), and operator==().
int16_t llvm::pdb::Variant::Int16 |
Definition at line 457 of file PDBTypes.h.
Referenced by getBitWidth(), isIntegralType(), operator==(), and toAPSInt().
int32_t llvm::pdb::Variant::Int32 |
Definition at line 458 of file PDBTypes.h.
Referenced by getBitWidth(), isIntegralType(), operator==(), and toAPSInt().
int64_t llvm::pdb::Variant::Int64 |
Definition at line 459 of file PDBTypes.h.
Referenced by getBitWidth(), isIntegralType(), operator==(), and toAPSInt().
int8_t llvm::pdb::Variant::Int8 |
Definition at line 456 of file PDBTypes.h.
Referenced by getBitWidth(), isIntegralType(), operator==(), and toAPSInt().
float llvm::pdb::Variant::Single |
Definition at line 460 of file PDBTypes.h.
Referenced by getBitWidth(), and operator==().
char* llvm::pdb::Variant::String |
Definition at line 466 of file PDBTypes.h.
Referenced by operator==().
PDB_VariantType llvm::pdb::Variant::Type = PDB_VariantType::Empty |
Definition at line 453 of file PDBTypes.h.
uint16_t llvm::pdb::Variant::UInt16 |
Definition at line 463 of file PDBTypes.h.
Referenced by getBitWidth(), isIntegralType(), operator==(), and toAPSInt().
uint32_t llvm::pdb::Variant::UInt32 |
Definition at line 464 of file PDBTypes.h.
Referenced by getBitWidth(), isIntegralType(), operator==(), and toAPSInt().
uint64_t llvm::pdb::Variant::UInt64 |
Definition at line 465 of file PDBTypes.h.
Referenced by getBitWidth(), isIntegralType(), operator==(), and toAPSInt().
uint8_t llvm::pdb::Variant::UInt8 |
Definition at line 462 of file PDBTypes.h.
Referenced by getBitWidth(), isIntegralType(), operator==(), and toAPSInt().
union { ... } llvm::pdb::Variant::Value |