mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Silence anonymous type in anonymous union warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -24,11 +24,15 @@ typedef void* PointerTy;
|
||||
class APInt;
|
||||
|
||||
struct GenericValue {
|
||||
struct IntPair {
|
||||
unsigned int first;
|
||||
unsigned int second;
|
||||
};
|
||||
union {
|
||||
double DoubleVal;
|
||||
float FloatVal;
|
||||
PointerTy PointerVal;
|
||||
struct { unsigned int first; unsigned int second; } UIntPairVal;
|
||||
struct IntPair UIntPairVal;
|
||||
unsigned char Untyped[8];
|
||||
};
|
||||
APInt IntVal; // also used for long doubles
|
||||
|
||||
Reference in New Issue
Block a user