Changeset ada4575 for src/SynTree


Ignore:
Timestamp:
Feb 15, 2019, 2:37:56 PM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
ee06e41b
Parents:
fba51ab
Message:

programmatically creation basic-type declarations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Type.h

    rfba51ab rada4575  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Feb 13 18:10:45 2019
    13 // Update Count     : 167
     12// Last Modified On : Thu Feb 14 17:11:24 2019
     13// Update Count     : 169
    1414//
    1515
     
    207207class BasicType : public Type {
    208208  public:
    209 #if 0
    210         enum Kind {
    211                 Bool,
    212                 Char,
    213                 SignedChar,
    214                 UnsignedChar,
    215                 ShortSignedInt,
    216                 ShortUnsignedInt,
    217                 SignedInt,
    218                 UnsignedInt,
    219                 LongSignedInt,
    220                 LongUnsignedInt,
    221                 LongLongSignedInt,
    222                 LongLongUnsignedInt,
    223                 Float,
    224                 Double,
    225                 LongDouble,
    226                 FloatComplex,
    227                 DoubleComplex,
    228                 LongDoubleComplex,
    229                 FloatImaginary,
    230                 DoubleImaginary,
    231                 LongDoubleImaginary,
    232                 SignedInt128,
    233                 UnsignedInt128,
    234                 Float80,
    235                 Float128,
    236                 _Float16,
    237                 _Float32,
    238                 _Float32x,
    239                 _Float64,
    240                 _Float64x,
    241                 _Float128,
    242                 _Float128x,
    243                 _Float16Complex,
    244                 _Float32Complex,
    245                 _Float32xComplex,
    246                 _Float64Complex,
    247                 _Float64xComplex,
    248                 _Float128Complex,
    249                 _Float128xComplex,
    250                 NUMBER_OF_BASIC_TYPES
    251         } kind;
    252 #endif
     209        // GENERATED START, DO NOT EDIT
     210        // GENERATED BY BasicTypes-gen.cc
    253211        enum Kind {
    254212                Bool,
     
    272230                Float,
    273231                FloatComplex,
    274                 // FloatImaginary,
    275232                uFloat32x,
    276233                uFloat32xComplex,
     
    279236                Double,
    280237                DoubleComplex,
    281                 // DoubleImaginary,
    282238                uFloat64x,
    283239                uFloat64xComplex,
     
    288244                LongDouble,
    289245                LongDoubleComplex,
    290                 // LongDoubleImaginary,
    291246                uFloat128x,
    292247                uFloat128xComplex,
    293248                NUMBER_OF_BASIC_TYPES
    294249        } kind;
     250        // GENERATED END
    295251
    296252        static const char *typeNames[];                                         // string names for basic types, MUST MATCH with Kind
Note: See TracChangeset for help on using the changeset viewer.