Changes in src/Parser/ParseNode.h [5b639ee:b6424d9]
- File:
-
- 1 edited
-
src/Parser/ParseNode.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
r5b639ee rb6424d9 10 10 // Created On : Sat May 16 13:28:16 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Sep 12 08:00:05201613 // Update Count : 60312 // Last Modified On : Sat Sep 10 17:14:37 2016 13 // Update Count : 589 14 14 // 15 15 … … 196 196 class DeclarationNode : public ParseNode { 197 197 public: 198 // These must remain in the same order as the corresponding DeclarationNode names.198 enum Qualifier { Const, Restrict, Volatile, Lvalue, Atomic, NoOfQualifier }; 199 199 enum StorageClass { Extern, Static, Auto, Register, Inline, Fortran, Noreturn, Threadlocal, NoStorageClass, }; 200 enum Qualifier { Const, Restrict, Volatile, Lvalue, Atomic, NoQualifier }; 201 enum BasicType { Void, Bool, Char, Int, Float, Double, LongDouble, NoBasicType }; 202 enum ComplexType { Complex, Imaginary, NoComplexType }; 203 enum Signedness { Signed, Unsigned, NoSignedness }; 204 enum Length { Short, Long, LongLong, NoLength }; 200 enum BasicType { Char, Int, Float, Double, Void, Bool, Complex, Imaginary }; 201 enum Modifier { Signed, Unsigned, Short, Long }; 205 202 enum Aggregate { Struct, Union, Trait }; 206 enum TypeClass { Otype, Dtype, Ftype };203 enum TypeClass { Type, Dtype, Ftype }; 207 204 enum BuiltinType { Valist }; 208 205 206 static const char * qualifierName[]; 209 207 static const char * storageName[]; 210 static const char * qualifierName[];211 208 static const char * basicTypeName[]; 212 static const char * complexTypeName[]; 213 static const char * signednessName[]; 214 static const char * lengthName[]; 209 static const char * modifierName[]; 215 210 static const char * aggregateName[]; 216 211 static const char * typeClassName[]; … … 222 217 static DeclarationNode * newStorageClass( StorageClass ); 223 218 static DeclarationNode * newBasicType( BasicType ); 224 static DeclarationNode * newComplexType( ComplexType ); 225 static DeclarationNode * newSignedNess( Signedness sn ); 226 static DeclarationNode * newLength( Length lnth ); 219 static DeclarationNode * newModifier( Modifier ); 227 220 static DeclarationNode * newBuiltinType( BuiltinType ); 228 221 static DeclarationNode * newFromTypedef( std::string *); … … 316 309 TypeData * type; 317 310 std::string name; 311 // std::list< StorageClass > storageClasses; 318 312 StorageClass storageClass; 319 313 bool isInline, isNoreturn;
Note:
See TracChangeset
for help on using the changeset viewer.