# # ChangeLog for src/InitTweak/FixInit.cc # # Generated by Trac 1.2.1 # Nov 22, 2024, 9:01:13 AM Fri, 09 Sep 2016 17:58:07 GMT Rob Schluntz [b6fe7e6] * src/InitTweak/FixInit.cc (modified) * src/Parser/parser.cc (modified) * src/Parser/parser.yy (modified) * src/ResolvExpr/AlternativeFinder.cc (modified) * src/ResolvExpr/AlternativeFinder.h (modified) * src/SynTree/Expression.cc (modified) * src/SynTree/Expression.h (modified) * src/SynTree/Mutator.cc (modified) * src/SynTree/Mutator.h (modified) * src/SynTree/SynTree.h (modified) * src/SynTree/Visitor.cc (modified) * src/SynTree/Visitor.h (modified) * src/libcfa/prelude.cf (modified) make constructor expressions work, fix bug with using the wrong ... Sun, 04 Sep 2016 22:55:35 GMT Rob Schluntz [b16898e] * src/InitTweak/FixInit.cc (modified) walk function type when resolving member constructors Sun, 04 Sep 2016 19:25:32 GMT Rob Schluntz [1ba88a0] * src/Common/utility.h (modified) * src/GenPoly/Box.cc (modified) * src/GenPoly/PolyMutator.h (modified) * src/InitTweak/FixInit.cc (modified) * src/InitTweak/GenInit.cc (modified) * src/InitTweak/InitTweak.cc (modified) * src/ResolvExpr/Resolver.cc (modified) * src/SymTab/Indexer.cc (modified) * src/SymTab/Indexer.h (modified) * src/tests/.expect/64/declarationSpecifier.txt (modified) * src/tests/.expect/64/extension.txt (modified) * src/tests/.expect/64/gccExtensions.txt (modified) implement implicit ctor/dtor deletion, track managed types when ... Fri, 02 Sep 2016 17:30:36 GMT Rob Schluntz [44f6341] * src/Common/utility.h (modified) * src/InitTweak/FixInit.cc (modified) * src/tests/.expect/memberCtors-ERR1.txt (modified) * src/tests/.expect/memberCtors.txt (modified) * src/tests/memberCtors.c (modified) fix implicit member ctor/dtor generation order, fix corresponding test Thu, 01 Sep 2016 20:53:22 GMT Rob Schluntz [4d4882a] * src/InitTweak/FixInit.cc (modified) * src/InitTweak/InitTweak.cc (modified) * src/InitTweak/InitTweak.h (modified) * src/SynTree/FunctionDecl.cc (modified) * src/tests/.expect/ctorWarnings.txt (deleted) * src/tests/.expect/memberCtors-ERR1.txt (added) * src/tests/.expect/memberCtors.txt (added) * src/tests/Makefile.am (modified) * src/tests/Makefile.in (modified) * src/tests/ctorWarnings.c (deleted) * src/tests/memberCtors.c (added) implicitly insert missing copy constructors when appropriate, update ... Tue, 30 Aug 2016 21:15:34 GMT Rob Schluntz [c8dfcd3] * src/Common/utility.h (modified) * src/InitTweak/FixInit.cc (modified) * src/Parser/ParseNode.cc (modified) * src/Parser/ParseNode.h (modified) * src/SymTab/Autogen.h (modified) * src/SynTree/Expression.cc (modified) * src/SynTree/Statement.h (modified) insert implicit ctor/dtors if field is unhandled in a struct ctor/dtor Mon, 29 Aug 2016 21:58:17 GMT Rob Schluntz [3906301] * src/Common/SemanticError.cc (modified) * src/Common/SemanticError.h (modified) * src/InitTweak/FixInit.cc (modified) * src/SynTree/Declaration.cc (modified) * src/SynTree/Declaration.h (modified) * src/SynTree/Expression.cc (modified) * src/SynTree/Expression.h (modified) * src/SynTree/Statement.cc (modified) * src/SynTree/Statement.h (modified) * src/SynTree/Type.cc (modified) * src/SynTree/Type.h (modified) * src/tests/.expect/ctorWarnings.txt (modified) * src/tests/Makefile.am (modified) * src/tests/Makefile.in (modified) change constructor warnings into errors and update the test output Wed, 24 Aug 2016 17:55:39 GMT Rob Schluntz [486341f] * src/CodeGen/CodeGenerator.cc (modified) * src/CodeGen/CodeGenerator.h (modified) * src/CodeGen/GenType.cc (modified) * src/CodeGen/GenType.h (modified) * src/InitTweak/FixInit.cc (modified) * src/tests/.expect/ctorWarnings.txt (added) * src/tests/Makefile.am (modified) * src/tests/Makefile.in (modified) * src/tests/ctorWarnings.c (added) add option to CodeGen to output unmangled name, add ctorWarnings test Wed, 24 Aug 2016 16:36:33 GMT Rob Schluntz [79970ed] * src/CodeGen/GenType.h (modified) * src/Common/utility.h (modified) * src/InitTweak/FixInit.cc (modified) * src/InitTweak/InitTweak.cc (modified) * src/InitTweak/InitTweak.h (modified) * src/Parser/LinkageSpec.cc (modified) * src/ResolvExpr/AlternativeFinder.cc (modified) * src/SymTab/Validate.cc (modified) * src/SynTree/AggregateDecl.cc (modified) * src/SynTree/Expression.cc (modified) * src/SynTree/TypeSubstitution.h (modified) implement warnings for missing struct member constructor calls, ... Mon, 22 Aug 2016 19:31:47 GMT Rob Schluntz [03b812d2] * src/CodeGen/CodeGenerator.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/SynTree/Expression.cc (modified) delete UntypedExpr arguments and fix missing clones Thu, 04 Aug 2016 20:10:06 GMT Rob Schluntz [f9cebb5] * src/CodeGen/CodeGenerator.cc (modified) * src/InitTweak/FixGlobalInit.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/InitTweak/GenInit.cc (modified) * src/InitTweak/InitTweak.cc (modified) * src/InitTweak/InitTweak.h (modified) * src/Parser/TypeData.cc (modified) * src/ResolvExpr/Resolver.cc (modified) * src/SymTab/Autogen.h (modified) * src/SynTree/Declaration.cc (modified) * src/SynTree/Declaration.h (modified) * src/SynTree/DeclarationWithType.cc (modified) * src/SynTree/FunctionDecl.cc (modified) * src/SynTree/Label.h (modified) * src/SynTree/ObjectDecl.cc (modified) add gcc attributes to ObjectDecl, hoist destructed static variables, ... Fri, 22 Jul 2016 19:55:51 GMT Rob Schluntz [72e9222] * src/InitTweak/FixInit.cc (modified) * src/tests/init_once.c (modified) change codegen for function-scoped static variable destruction to ... Thu, 21 Jul 2016 18:07:01 GMT Rob Schluntz [6cf27a07] * src/InitTweak/FixGlobalInit.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/InitTweak/FixInit.h (modified) * src/InitTweak/GenInit.cc (modified) * src/InitTweak/InitTweak.cc (modified) * src/SymTab/Autogen.h (modified) * src/main.cc (modified) * src/tests/.expect/extension.txt (modified) reorganize global init so that it is simpler and generates less ... Tue, 12 Jul 2016 22:34:10 GMT Peter A. Buhr [4e06c1e] * src/ControlStruct/CaseRangeMutator.cc (modified) * src/ControlStruct/CaseRangeMutator.h (modified) * src/ControlStruct/ChooseMutator.cc (deleted) * src/ControlStruct/ChooseMutator.h (deleted) * src/ControlStruct/LabelFixer.h (modified) * src/ControlStruct/MLEMutator.cc (modified) * src/ControlStruct/MLEMutator.h (modified) * src/ControlStruct/Mutate.cc (modified) * src/ControlStruct/module.mk (modified) * src/GenPoly/DeclMutator.cc (modified) * src/GenPoly/DeclMutator.h (modified) * src/GenPoly/PolyMutator.cc (modified) * src/GenPoly/PolyMutator.h (modified) * src/InitTweak/FixInit.cc (modified) * src/Makefile.in (modified) * src/Parser/ParseNode.cc (modified) * src/Parser/StatementNode.cc (modified) * src/Parser/TypeData.cc (modified) * src/Parser/parser.cc (modified) * src/Parser/parser.yy (modified) * src/ResolvExpr/Resolver.cc (modified) * src/SymTab/AddVisit.h (modified) * src/SymTab/Autogen.cc (modified) * src/SymTab/Indexer.cc (modified) * src/SymTab/Validate.cc (modified) * src/SynTree/AddStmtVisitor.cc (modified) * src/SynTree/AddStmtVisitor.h (modified) * src/SynTree/Mutator.cc (modified) * src/SynTree/Mutator.h (modified) * src/SynTree/Statement.cc (modified) * src/SynTree/Statement.h (modified) * src/SynTree/SynTree.h (modified) * src/SynTree/Visitor.cc (modified) * src/SynTree/Visitor.h (modified) * src/examples/includes.c (modified) * src/libcfa/iostream (modified) * src/libcfa/iostream.c (modified) * src/tests/switch.c (modified) changes for switch and choose statements Wed, 06 Jul 2016 22:06:27 GMT Peter A. Buhr [adcc065] * src/ControlStruct/MLEMutator.cc (modified) * src/ControlStruct/MLEMutator.h (modified) * src/InitTweak/FixInit.cc (modified) * src/tests/.expect/random.txt (added) * src/tests/random.c (modified) add labelled break to if statement, update comment formatting, add ... Mon, 04 Jul 2016 21:03:26 GMT Rob Schluntz [3f97e68] * src/InitTweak/FixInit.cc (modified) fix clone bug related to function-scoped static variables Wed, 29 Jun 2016 16:41:56 GMT Rob Schluntz [4b2589a] * src/CodeGen/CodeGenerator.cc (modified) * src/ControlStruct/MLEMutator.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/SynTree/Label.h (modified) clean up comments, remove dead code Tue, 28 Jun 2016 19:33:01 GMT Rob Schluntz [e39aa0f] * src/ControlStruct/MLEMutator.cc (modified) * src/ControlStruct/MLEMutator.h (modified) * src/InitTweak/FixInit.cc (modified) overhaul MLE code, attach label to break/continue statements so it ... Thu, 23 Jun 2016 16:17:31 GMT Rob Schluntz [c2931ea] * src/InitTweak/FixInit.cc (modified) overhaul destructor insertion, implement destructor insertion for ... Thu, 16 Jun 2016 16:24:39 GMT Rob Schluntz [0f8e4ac] * src/CodeGen/CodeGenerator.cc (modified) * src/ControlStruct/LabelFixer.cc (modified) * src/ControlStruct/LabelFixer.h (modified) * src/ControlStruct/LabelGenerator.cc (modified) * src/ControlStruct/MLEMutator.h (modified) * src/GenPoly/Specialize.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/Parser/ParseNode.h (modified) * src/Parser/StatementNode.cc (modified) * src/SymTab/Autogen.h (modified) * src/SynTree/Statement.cc (modified) * src/SynTree/Statement.h (modified) * src/SynTree/SynTree.h (modified) change Label from a string typedef to a class Wed, 01 Jun 2016 15:54:23 GMT Rob Schluntz [f1b1e4c] * src/ArgTweak/FunctionFixer.cc (modified) * src/InitTweak/FixGlobalInit.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/InitTweak/GenInit.cc (modified) * src/InitTweak/InitTweak.cc (modified) * src/InitTweak/InitTweak.h (modified) * src/ResolvExpr/Resolver.cc (modified) * src/SymTab/Validate.cc (modified) * src/SynTree/Initializer.cc (modified) * src/SynTree/Initializer.h (modified) * src/SynTree/Mutator.cc (modified) * src/SynTree/Mutator.h (modified) * src/SynTree/Statement.cc (modified) * src/SynTree/Statement.h (modified) * src/SynTree/SynTree.h (modified) * src/SynTree/Type.cc (modified) * src/SynTree/Type.h (modified) * src/SynTree/Visitor.cc (modified) * src/SynTree/Visitor.h (modified) can construct global const objects, except with intrinsic constructors Fri, 27 May 2016 18:38:13 GMT Rob Schluntz [9554d9b] * src/InitTweak/FixInit.cc (modified) * src/SymTab/Autogen.cc (modified) * src/SynTree/ApplicationExpr.cc (modified) elide copy constructor calls in polymorphic code Fri, 13 May 2016 17:18:35 GMT Rob Schluntz [7b3f66b] * src/InitTweak/FixGlobalInit.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/InitTweak/FixInit.h (modified) * src/InitTweak/GenInit.cc (modified) * src/InitTweak/GenInit.h (modified) * src/InitTweak/module.mk (modified) * src/Makefile.in (modified) * src/ResolvExpr/Resolver.cc (modified) Don't construct global extern variables, handle global array ... Mon, 09 May 2016 16:41:50 GMT Rob Schluntz [ec79847] * src/InitTweak/FixGlobalInit.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/InitTweak/FixInit.h (modified) * src/ResolvExpr/Resolver.cc (modified) don't include global init/destroy functions if they're empty, remove ... Wed, 04 May 2016 18:52:07 GMT Rob Schluntz [2bdf50d] * src/InitTweak/FixInit.cc (modified) update comment in insertDtors Mon, 02 May 2016 19:09:08 GMT Rob Schluntz [540de412] * src/GenPoly/Box.cc (modified) * src/GenPoly/GenPoly.cc (modified) * src/GenPoly/PolyMutator.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/SynTree/TypeSubstitution.h (modified) 'merge' type substitutions from resolved copy constructors, add case ... Fri, 29 Apr 2016 16:26:50 GMT Rob Schluntz [fea7ca7] * src/GenPoly/Box.cc (modified) * src/GenPoly/Specialize.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/main.cc (modified) Account for lvalue returning functions in FixCopyCtor, removed ... Thu, 28 Apr 2016 16:32:49 GMT Rob Schluntz [a0fdbd5] * src/InitTweak/FixInit.cc (modified) * src/InitTweak/GenInit.cc (moved) * src/InitTweak/GenInit.h (moved) * src/InitTweak/module.mk (modified) * src/Makefile.in (modified) * src/main.cc (modified) remove RemoveInit's ObjectDecl mutate which duplicates constructor ... Wed, 27 Apr 2016 21:16:22 GMT Rob Schluntz [4ffdd63] * src/InitTweak/FixInit.cc (modified) * src/SynTree/Expression.cc (modified) * src/SynTree/Expression.h (modified) * src/SynTree/Mutator.cc (modified) * src/SynTree/Visitor.cc (modified) change FixCopyCtors to insert comma expressions and UntypedExpr ... Tue, 26 Apr 2016 19:01:39 GMT Rob Schluntz [1b31345] * src/InitTweak/FixInit.cc (modified) attempt to ensure correct type substitution is passed along to ... Tue, 26 Apr 2016 15:36:36 GMT Rob Schluntz [5382492] * src/InitTweak/FixInit.cc (modified) * src/SynTree/TypeSubstitution.cc (modified) * src/SynTree/TypeSubstitution.h (modified) save type substitution and apply it when creating temporary variables ... Mon, 25 Apr 2016 19:53:15 GMT Rob Schluntz [cf18eea] * src/InitTweak/FixInit.cc (modified) don't copy construct function type arguments or va_list type arguments Mon, 25 Apr 2016 18:49:55 GMT Rob Schluntz [845cedc] * src/InitTweak/FixInit.cc (modified) * src/MakeLibCfa.cc (modified) * src/SynTree/Expression.cc (modified) don't generate copy constructor calls for arguments to intrinsic ... Thu, 14 Apr 2016 21:33:37 GMT Rob Schluntz [b617e4b] * src/InitTweak/FixInit.cc (modified) ensure temporaries created for copy construction are not const Thu, 14 Apr 2016 19:22:42 GMT Rob Schluntz [db4ecc5] * src/InitTweak/FixInit.cc (modified) * src/InitTweak/RemoveInit.cc (modified) * src/ResolvExpr/Resolver.cc (modified) * src/ResolvExpr/Resolver.h (modified) * src/SynTree/Expression.cc (modified) * src/SynTree/Expression.h (modified) * src/SynTree/Initializer.h (modified) * src/SynTree/Mutator.cc (modified) * src/SynTree/Mutator.h (modified) * src/SynTree/SynTree.h (modified) * src/SynTree/Visitor.cc (modified) * src/SynTree/Visitor.h (modified) add ImplicitCopyCtorExpr node, implicit copy constructors are ... Thu, 31 Mar 2016 18:33:49 GMT Rob Schluntz [39786813] * src/InitTweak/FixInit.cc (modified) * src/main.cc (modified) generate appropriate destructor calls before return, break, and ... Thu, 31 Mar 2016 14:28:54 GMT Rob Schluntz [e0323a2] * src/InitTweak/FixInit.cc (modified) routine scoped static variables are constructed once the first time ... Wed, 30 Mar 2016 19:48:55 GMT Rob Schluntz [5b2f5bb] * src/CodeGen/CodeGenerator.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/InitTweak/RemoveInit.cc (modified) * src/ResolvExpr/Resolver.cc (modified) * src/SynTree/Initializer.cc (modified) * src/SynTree/Initializer.h (modified) * src/libcfa/Makefile.am (modified) * src/libcfa/Makefile.in (modified) choose destructor at at object declaration (CtorInit), overhaul and ... Tue, 15 Mar 2016 19:16:53 GMT Rob Schluntz [5b40f30] * src/CodeGen/CodeGenerator.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/InitTweak/RemoveInit.cc (modified) * src/SymTab/Autogen.cc (modified) * src/SynTree/Initializer.cc (modified) * src/SynTree/Initializer.h (modified) generate correct empty list initializer, ensure function return value ... Wed, 20 Jan 2016 17:36:27 GMT Rob Schluntz [ca1c11f] * src/InitTweak/FixInit.cc (modified) * src/main.cc (modified) added constructor debug flag -c, fixed mistake in removing extraneous ... Tue, 19 Jan 2016 18:28:25 GMT Rob Schluntz [f1e012b] * src/CodeGen/CodeGenerator.cc (modified) * src/GenPoly/Specialize.cc (modified) * src/InitTweak/FixInit.cc (modified) * src/InitTweak/RemoveInit.cc (modified) * src/MakeLibCfa.cc (modified) * src/Parser/TypeData.cc (modified) * src/ResolvExpr/Resolver.cc (modified) * src/libcfa/prelude.cf (modified) * src/main.cc (modified) added intrinsic ctor/dtors to prelude, modified MakeLibCfa to build ... Wed, 13 Jan 2016 22:19:47 GMT Rob Schluntz [71f4e4f] * src/CodeGen/CodeGenerator.cc (modified) * src/InitTweak/FixInit.cc (added) * src/InitTweak/FixInit.h (added) * src/InitTweak/RemoveInit.cc (modified) * src/InitTweak/module.mk (modified) * src/Makefile.in (modified) * src/ResolvExpr/Resolver.cc (modified) * src/SynTree/Declaration.h (modified) * src/SynTree/Initializer.cc (modified) * src/SynTree/Initializer.h (modified) * src/SynTree/Mutator.cc (modified) * src/SynTree/Mutator.h (modified) * src/SynTree/ObjectDecl.cc (modified) * src/SynTree/SynTree.h (modified) * src/SynTree/Visitor.cc (modified) * src/SynTree/Visitor.h (modified) * src/main.cc (modified) added ConstructorInit, simple constructors and destructors work correctly