@@ -543,19 +543,60 @@ enumconstants(
543
543
@localscopevariable = @localvariable | @parameter;
544
544
545
545
/*
546
- Built-in types are the fundamental types, i.e., integral, floating, and void.
547
- kind(1) = error, kind(2) = unknown, kind(3) = void, kind(4) = boolean,
548
- kind(5) = char, kind(6) = unsigned char, kind(7) = signed char
549
- kind(8) = short, kind(9) = unsigned short, kind(10) = signed short
550
- kind(11) = int, kind(12) = unsigned int, kind(13) = signed int,
551
- kind(14) = long, kind(15) = unsigned long, kind(16) = signed long,
552
- kind(17) = long long, kind(18) = unsigned long long, kind(19) = signed long long,
553
- kind(20) = __int8, kind(21) = __int16, kind(22) = __int32, kind(23) = __int64, // Microsoft specific
554
- kind(24) = float, kind(25) = double, kind(26) = long double,
555
- kind(27) = _Complex float, kind(28) = _Complex double, kind(29) = _Complex long double, //C99 specific
556
- kind(30) = _Imaginary float, kind(31) = _Imaginary double, kind(32) = _Imaginary long double, //C99 specific
557
- kind(33) = wchar_t, // MS specific
558
- kind(34) = decltype(nullptr), // C++11
546
+ Built-in types are the fundamental types, e.g., integral, floating, and void.
547
+
548
+ case @builtintype.kind of
549
+ 1 = error
550
+ | 2 = unknown
551
+ | 3 = void
552
+ | 4 = boolean
553
+ | 5 = char
554
+ | 6 = unsigned_char
555
+ | 7 = signed_char
556
+ | 8 = short
557
+ | 9 = unsigned_short
558
+ | 10 = signed_short
559
+ | 11 = int
560
+ | 12 = unsigned_int
561
+ | 13 = signed_int
562
+ | 14 = long
563
+ | 15 = unsigned_long
564
+ | 16 = signed_long
565
+ | 17 = long_long
566
+ | 18 = unsigned_long_long
567
+ | 19 = signed_long_long
568
+ | 20 = __int8 // Microsoft-specific
569
+ | 21 = __int16 // Microsoft-specific
570
+ | 22 = __int32 // Microsoft-specific
571
+ | 23 = __int64 // Microsoft-specific
572
+ | 24 = float
573
+ | 25 = double
574
+ | 26 = long_double
575
+ | 27 = _Complex_float // C99-specific
576
+ | 28 = _Complex_double // C99-specific
577
+ | 29 = _Complex_long double // C99-specific
578
+ | 30 = _Imaginary_float // C99-specific
579
+ | 31 = _Imaginary_double // C99-specific
580
+ | 32 = _Imaginary_long_double // C99-specific
581
+ | 33 = wchar_t // Microsoft-specific
582
+ | 34 = decltype_nullptr // C++11
583
+ | 35 = __int128
584
+ | 36 = unsigned___int128
585
+ | 37 = signed___int128
586
+ | 38 = __float128
587
+ | 39 = _Complex___float128
588
+ | 40 = _Decimal32
589
+ | 41 = _Decimal64
590
+ | 42 = _Decimal128
591
+ | 43 = char16_t
592
+ | 44 = char32_t
593
+ | 45 = _Float32
594
+ | 46 = _Float32x
595
+ | 47 = _Float64
596
+ | 48 = _Float64x
597
+ | 49 = _Float128
598
+ | 50 = _Float128x
599
+ ;
559
600
*/
560
601
builtintypes(
561
602
unique int id: @builtintype,
0 commit comments