enum.go (2247B)
1 // Copyright 2019 The CC Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package cc // import "modernc.org/cc/v3" 6 7 // Values of Kind 8 const ( 9 Invalid Kind = iota 10 11 Array // T[] 12 Bool // _Bool 13 Char // char 14 ComplexChar // complex char 15 ComplexDouble // complex double 16 ComplexFloat // complex float 17 ComplexInt // complex int 18 ComplexLong // complex long 19 ComplexLongDouble // complex long double 20 ComplexLongLong // complex long long 21 ComplexShort // complex short 22 ComplexUInt // complex unsigned 23 ComplexULong // complex unsigned long 24 ComplexULongLong // complex unsigned long long 25 ComplexUShort // complex shor 26 Decimal128 // _Decimal128 27 Decimal32 // _Decimal32 28 Decimal64 // _Decimal64 29 Double // double 30 Enum // enum 31 Float // float 32 Float128 // _Float128 33 Float32 // _Float32 34 Float32x // _Float32x 35 Float64 // _Float64 36 Float64x // _Float64x 37 Function // function 38 Int // int 39 Int8 // __int8 40 Int16 // __int16 41 Int32 // __int32 42 Int64 // __int64 43 Int128 // __int128 44 Long // long 45 LongDouble // long double 46 LongLong // long long 47 Ptr // pointer 48 SChar // signed char 49 Short // short 50 Struct // struct 51 TypedefName // typedefname 52 UChar // unsigned char 53 UInt // unsigned 54 UInt8 // unsigned __int8 55 UInt16 // unsigned __int16 56 UInt32 // unsigned __int32 57 UInt64 // unsigned __int64 58 UInt128 // unsigned __int128 59 ULong // unsigned long 60 ULongLong // unsigned long long 61 UShort // unsigned short 62 Union // union 63 Void // void 64 Vector // vector 65 66 typeofExpr 67 typeofType 68 69 maxKind 70 ) 71 72 // Values of Linkage 73 const ( 74 None Linkage = iota 75 Internal 76 External 77 ) 78 79 // Values of StorageClass 80 const ( 81 Static StorageClass = iota 82 Automatic 83 Allocated 84 )