Changeset 8135d4c for src/InitTweak/FixInit.cc
- Timestamp:
- Aug 22, 2017, 7:31:52 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, 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, with_gc
- Children:
- 9aaac6e9
- Parents:
- fc56cdbf (diff), b3d413b (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cc
rfc56cdbf r8135d4c 13 13 // Update Count : 74 14 14 // 15 16 #include <stack>17 #include <list>18 #include <iterator>19 #include <algorithm>20 #include <unordered_map>21 #include <unordered_set>22 23 #include "InitTweak.h"24 #include "GenInit.h"25 15 #include "FixInit.h" 26 #include "FixGlobalInit.h" 27 #include "CodeGen/GenType.h" // for warning/error messages 16 17 #include <stddef.h> // for NULL 18 #include <algorithm> // for set_difference, copy_if 19 #include <cassert> // for assert, safe_dynamic_cast 20 #include <iostream> // for operator<<, ostream, basic_ost... 21 #include <iterator> // for insert_iterator, back_inserter 22 #include <list> // for _List_iterator, list, list<>::... 23 #include <map> // for _Rb_tree_iterator, _Rb_tree_co... 24 #include <memory> // for allocator_traits<>::value_type 25 #include <set> // for set, set<>::value_type 26 #include <unordered_map> // for unordered_map, unordered_map<>... 27 #include <unordered_set> // for unordered_set 28 #include <utility> // for pair 29 30 #include "CodeGen/GenType.h" // for genPrettyType 28 31 #include "CodeGen/OperatorTable.h" 29 #include "Common/PassVisitor.h" 30 #include "GenPoly/DeclMutator.h" 31 #include "GenPoly/PolyMutator.h" 32 #include "ResolvExpr/Resolver.h" 33 #include "ResolvExpr/typeops.h" 34 #include "SymTab/Autogen.h" 35 #include "SymTab/Indexer.h" 36 #include "SynTree/AddStmtVisitor.h" 37 #include "SynTree/Attribute.h" 38 #include "SynTree/Declaration.h" 39 #include "SynTree/Expression.h" 40 #include "SynTree/Initializer.h" 41 #include "SynTree/Mutator.h" 42 #include "SynTree/Statement.h" 43 #include "SynTree/Type.h" 44 #include "Tuples/Tuples.h" 32 #include "Common/PassVisitor.h" // for PassVisitor, WithStmtsToAdd 33 #include "Common/SemanticError.h" // for SemanticError 34 #include "Common/UniqueName.h" // for UniqueName 35 #include "Common/utility.h" // for CodeLocation, ValueGuard, toSt... 36 #include "FixGlobalInit.h" // for fixGlobalInit 37 #include "GenInit.h" // for genCtorDtor 38 #include "GenPoly/DeclMutator.h" // for DeclMutator 39 #include "GenPoly/GenPoly.h" // for getFunctionType 40 #include "GenPoly/PolyMutator.h" // for PolyMutator 41 #include "InitTweak.h" // for getFunctionName, getCallArg 42 #include "Parser/LinkageSpec.h" // for C, Spec, Cforall, isBuiltin 43 #include "ResolvExpr/Resolver.h" // for findVoidExpression 44 #include "ResolvExpr/typeops.h" // for typesCompatible 45 #include "SymTab/Autogen.h" // for genImplicitCall 46 #include "SymTab/Indexer.h" // for Indexer 47 #include "SymTab/Mangler.h" // for Mangler 48 #include "SynTree/AddStmtVisitor.h" // for AddStmtVisitor 49 #include "SynTree/Attribute.h" // for Attribute 50 #include "SynTree/Constant.h" // for Constant 51 #include "SynTree/Declaration.h" // for ObjectDecl, FunctionDecl, Decl... 52 #include "SynTree/Expression.h" // for UniqueExpr, VariableExpr, Unty... 53 #include "SynTree/Initializer.h" // for ConstructorInit, SingleInit 54 #include "SynTree/Label.h" // for Label, noLabels, operator< 55 #include "SynTree/Mutator.h" // for mutateAll, Mutator, maybeMutate 56 #include "SynTree/Statement.h" // for ExprStmt, CompoundStmt, Branch... 57 #include "SynTree/Type.h" // for Type, Type::StorageClasses 58 #include "SynTree/TypeSubstitution.h" // for TypeSubstitution, operator<< 59 #include "SynTree/Visitor.h" // for acceptAll, maybeAccept 60 #include "Tuples/Tuples.h" // for isTtype 45 61 46 62 bool ctordtorp = false; // print all debug
Note: See TracChangeset
for help on using the changeset viewer.