Ignore:
Timestamp:
May 29, 2019, 3:45:00 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
0aedb01
Parents:
157a816 (diff), ebc0a85 (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 'cleanup-dtors'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Autogen.h

    r157a816 rf57dd25  
    3737        bool isUnnamedBitfield( ObjectDecl * obj );
    3838
    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 );
     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 );
    5550
    5651        /// 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.