Changes in src/Parser/DeclarationNode.h [6cef439:af60383]
- File:
-
- 1 edited
-
src/Parser/DeclarationNode.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.h
r6cef439 raf60383 40 40 static const char * builtinTypeNames[]; 41 41 42 static DeclarationNode * newFromTypeData( TypeData * );43 42 static DeclarationNode * newStorageClass( ast::Storage::Classes ); 44 43 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 * ); 45 54 static DeclarationNode * newFunction( const std::string * name, DeclarationNode * ret, DeclarationNode * param, StatementNode * body ); 46 55 static DeclarationNode * newAggregate( ast::AggregateDecl::Aggregate kind, const std::string * name, ExpressionNode * actuals, DeclarationNode * fields, bool body ); … … 50 59 static DeclarationNode * newEnumInLine( const std::string name ); 51 60 static DeclarationNode * newName( const std::string * ); 61 static DeclarationNode * newFromTypeGen( const std::string *, ExpressionNode * params ); 52 62 static DeclarationNode * newTypeParam( ast::TypeDecl::Kind, const std::string * ); 53 63 static DeclarationNode * newTrait( const std::string * name, DeclarationNode * params, DeclarationNode * asserts ); … … 60 70 static DeclarationNode * newTuple( DeclarationNode * members ); 61 71 static DeclarationNode * newTypeof( ExpressionNode * expr, bool basetypeof = false ); 72 static DeclarationNode * newVtableType( DeclarationNode * expr ); 62 73 static DeclarationNode * newAttribute( const std::string *, ExpressionNode * expr = nullptr ); // gcc attributes 63 74 static DeclarationNode * newDirectiveStmt( StatementNode * stmt ); // gcc external directive statement … … 152 163 }; // DeclarationNode 153 164 165 ast::Type * buildType( TypeData * type ); 166 154 167 static inline ast::Type * maybeMoveBuildType( const DeclarationNode * orig ) { 155 168 ast::Type * ret = orig ? orig->buildType() : nullptr;
Note:
See TracChangeset
for help on using the changeset viewer.