Ignore:
Timestamp:
Mar 8, 2024, 12:25:49 AM (5 months ago)
Author:
JiadaL <j82liang@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/DeclarationNode.h

    r06601401 r03606ce  
    4040        static const char * builtinTypeNames[];
    4141
     42        static DeclarationNode * newFromTypeData( TypeData * );
    4243        static DeclarationNode * newStorageClass( ast::Storage::Classes );
    4344        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 * );
    5445        static DeclarationNode * newFunction( const std::string * name, DeclarationNode * ret, DeclarationNode * param, StatementNode * body );
    5546        static DeclarationNode * newAggregate( ast::AggregateDecl::Aggregate kind, const std::string * name, ExpressionNode * actuals, DeclarationNode * fields, bool body );
     
    5950        static DeclarationNode * newEnumInLine( const std::string name );
    6051        static DeclarationNode * newName( const std::string * );
    61         static DeclarationNode * newFromTypeGen( const std::string *, ExpressionNode * params );
    6252        static DeclarationNode * newTypeParam( ast::TypeDecl::Kind, const std::string * );
    6353        static DeclarationNode * newTrait( const std::string * name, DeclarationNode * params, DeclarationNode * asserts );
     
    7060        static DeclarationNode * newTuple( DeclarationNode * members );
    7161        static DeclarationNode * newTypeof( ExpressionNode * expr, bool basetypeof = false );
    72         static DeclarationNode * newVtableType( DeclarationNode * expr );
    7362        static DeclarationNode * newAttribute( const std::string *, ExpressionNode * expr = nullptr ); // gcc attributes
    7463        static DeclarationNode * newDirectiveStmt( StatementNode * stmt ); // gcc external directive statement
     
    163152}; // DeclarationNode
    164153
    165 ast::Type * buildType( TypeData * type );
    166 
    167154static inline ast::Type * maybeMoveBuildType( const DeclarationNode * orig ) {
    168155        ast::Type * ret = orig ? orig->buildType() : nullptr;
Note: See TracChangeset for help on using the changeset viewer.