Ignore:
Timestamp:
Sep 7, 2016, 11:30:02 AM (10 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, stuck-waitfor-destruct, with_gc
Children:
02cea2d, 940bba3
Parents:
5fda7143
Message:

add forward declarations for autogenerated functions so that a struct becomes an otype as soon as its body is closed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/32/extension.txt

    r5fda7143 r9f70ab57  
    1313    __extension__ int __c__i_1;
    1414};
     15static inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1);
     16static inline void ___constructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1);
     17static inline void ___constructor__F_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1);
     18static inline void ___destructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1);
    1519static inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1){
    1620    ((void)((*___dst__P2sS_1).__a__i_1=___src__2sS_1.__a__i_1));
Note: See TracChangeset for help on using the changeset viewer.