Changeset 03606ce for src/Parser/DeclarationNode.h
- Timestamp:
- Mar 8, 2024, 12:25:49 AM (5 months ago)
- Branches:
- master
- Children:
- 266732e
- Parents:
- 06601401 (diff), 169496e1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.h
r06601401 r03606ce 40 40 static const char * builtinTypeNames[]; 41 41 42 static DeclarationNode * newFromTypeData( TypeData * ); 42 43 static DeclarationNode * newStorageClass( ast::Storage::Classes ); 43 44 static DeclarationNode * newFuncSpecifier( ast::Function::Specs ); 44 static DeclarationNode * newTypeQualifier( ast::CV::Qualifiers );45 static DeclarationNode * newBasicType( BasicType );46 static DeclarationNode * newComplexType( ComplexType );47 static DeclarationNode * newSignedNess( Signedness );48 static DeclarationNode * newLength( Length );49 static DeclarationNode * newBuiltinType( BuiltinType );50 static DeclarationNode * newForall( DeclarationNode * );51 static DeclarationNode * newFromTypedef( const std::string * );52 static DeclarationNode * newFromGlobalScope();53 static DeclarationNode * newQualifiedType( DeclarationNode *, DeclarationNode * );54 45 static DeclarationNode * newFunction( const std::string * name, DeclarationNode * ret, DeclarationNode * param, StatementNode * body ); 55 46 static DeclarationNode * newAggregate( ast::AggregateDecl::Aggregate kind, const std::string * name, ExpressionNode * actuals, DeclarationNode * fields, bool body ); … … 59 50 static DeclarationNode * newEnumInLine( const std::string name ); 60 51 static DeclarationNode * newName( const std::string * ); 61 static DeclarationNode * newFromTypeGen( const std::string *, ExpressionNode * params );62 52 static DeclarationNode * newTypeParam( ast::TypeDecl::Kind, const std::string * ); 63 53 static DeclarationNode * newTrait( const std::string * name, DeclarationNode * params, DeclarationNode * asserts ); … … 70 60 static DeclarationNode * newTuple( DeclarationNode * members ); 71 61 static DeclarationNode * newTypeof( ExpressionNode * expr, bool basetypeof = false ); 72 static DeclarationNode * newVtableType( DeclarationNode * expr );73 62 static DeclarationNode * newAttribute( const std::string *, ExpressionNode * expr = nullptr ); // gcc attributes 74 63 static DeclarationNode * newDirectiveStmt( StatementNode * stmt ); // gcc external directive statement … … 163 152 }; // DeclarationNode 164 153 165 ast::Type * buildType( TypeData * type );166 167 154 static inline ast::Type * maybeMoveBuildType( const DeclarationNode * orig ) { 168 155 ast::Type * ret = orig ? orig->buildType() : nullptr;
Note: See TracChangeset
for help on using the changeset viewer.