Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Autogen.h

    r2bfc6b2 rba3706f  
    3737        bool isUnnamedBitfield( ObjectDecl * obj );
    3838
    39         /// generate the type of an assignment function for paramType.
    40         /// maybePolymorphic is true if the resulting FunctionType is allowed to be polymorphic
    41         FunctionType * genAssignType( Type * paramType, bool maybePolymorphic = true );
    42 
    43         /// generate the type of a default constructor or destructor for paramType.
    44         /// maybePolymorphic is true if the resulting FunctionType is allowed to be polymorphic
    45         FunctionType * genDefaultType( Type * paramType, bool maybePolymorphic = true );
    46 
    47         /// generate the type of a copy constructor for paramType.
    48         /// maybePolymorphic is true if the resulting FunctionType is allowed to be polymorphic
    49         FunctionType * genCopyType( Type * paramType, bool maybePolymorphic = true );
     39        /// size_t type - set when size_t typedef is seen. Useful in a few places,
     40        /// such as in determining array dimension type
     41        extern Type * SizeType;
     42
     43        /// intrinsic dereference operator for unqualified types - set when *? function is seen in FindSpecialDeclarations.
     44        /// Useful for creating dereference ApplicationExprs without a full resolver pass.
     45        extern FunctionDecl * dereferenceOperator;
     46
     47        // generate the type of an assignment function for paramType
     48        FunctionType * genAssignType( Type * paramType );
     49
     50        // generate the type of a default constructor or destructor for paramType
     51        FunctionType * genDefaultType( Type * paramType );
     52
     53        // generate the type of a copy constructor for paramType
     54        FunctionType * genCopyType( Type * paramType );
    5055
    5156        /// inserts into out a generated call expression to function fname with arguments dstParam and srcParam. Intended to be used with generated ?=?, ?{}, and ^?{} calls.
Note: See TracChangeset for help on using the changeset viewer.