Changes in src/SymTab/Autogen.cc [30f9072:6ea87486]
- File:
-
- 1 edited
-
src/SymTab/Autogen.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Autogen.cc
r30f9072 r6ea87486 10 10 // Created On : Thu Mar 03 15:45:56 2016 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Jun 28 15:30:00 201713 // Update Count : 6 112 // Last Modified On : Fri Jul 14 16:41:00 2017 13 // Update Count : 62 14 14 // 15 16 #include <list> 17 #include <iterator> 18 #include "SynTree/Visitor.h" 19 #include "SynTree/Type.h" 20 #include "SynTree/Statement.h" 21 #include "SynTree/TypeSubstitution.h" 22 #include "Common/utility.h" 23 #include "AddVisit.h" 24 #include "MakeLibCfa.h" 15 25 #include "Autogen.h" 16 17 #include <algorithm> // for count_if 18 #include <cassert> // for safe_dynamic_cast, assert, assertf 19 #include <iterator> // for back_insert_iterator, back_inserter 20 #include <list> // for list, _List_iterator, list<>::iter... 21 #include <set> // for set, _Rb_tree_const_iterator 22 #include <vector> // for vector 23 24 #include "AddVisit.h" // for addVisit 25 #include "Common/ScopedMap.h" // for ScopedMap<>::const_iterator, Scope... 26 #include "Common/utility.h" // for cloneAll, operator+ 27 #include "GenPoly/DeclMutator.h" // for DeclMutator 28 #include "GenPoly/ScopedSet.h" // for ScopedSet, ScopedSet<>::iterator 29 #include "SymTab/Mangler.h" // for Mangler 30 #include "SynTree/Mutator.h" // for maybeMutate 31 #include "SynTree/Statement.h" // for CompoundStmt, ReturnStmt, ExprStmt 32 #include "SynTree/Type.h" // for FunctionType, Type, TypeInstType 33 #include "SynTree/Visitor.h" // for maybeAccept, Visitor, acceptAll 34 35 class Attribute; 26 #include "GenPoly/ScopedSet.h" 27 #include "Common/ScopedMap.h" 28 #include "SymTab/Mangler.h" 29 #include "GenPoly/DeclMutator.h" 36 30 37 31 namespace SymTab { … … 407 401 void makeStructFunctions( StructDecl *aggregateDecl, StructInstType *refType, unsigned int functionNesting, std::list< Declaration * > & declsToAdd, const std::vector< FuncData > & data ) { 408 402 // Builtins do not use autogeneration. 409 if ( aggregateDecl->get_linkage() == LinkageSpec::Builtin ||403 if ( aggregateDecl->get_linkage() == LinkageSpec::BuiltinCFA || 410 404 aggregateDecl->get_linkage() == LinkageSpec::BuiltinC ) { 411 405 return; … … 518 512 // Make function polymorphic in same parameters as generic union, if applicable 519 513 const std::list< TypeDecl* > & typeParams = aggregateDecl->get_parameters(); // List of type variables to be placed on the generated functions 520 514 521 515 // default ctor/dtor need only first parameter 522 516 // void ?{}(T *); void ^?{}(T *);
Note:
See TracChangeset
for help on using the changeset viewer.