Changeset f5e81d1 for src/SymTab/Indexer.cc
- Timestamp:
- Sep 8, 2016, 4:50:55 PM (8 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:
- add7117
- Parents:
- cd14861 (diff), 4563a95 (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/SymTab/Indexer.cc
rcd14861 rf5e81d1 105 105 106 106 void Indexer::removeSpecialOverrides( const std::string &id, std::list< DeclarationWithType * > & out ) const { 107 // only need to perform this step for constructors and destructors108 if ( ! InitTweak::isCtorDtor ( id ) ) return;107 // only need to perform this step for constructors, destructors, and assignment functions 108 if ( ! InitTweak::isCtorDtorAssign( id ) ) return; 109 109 110 110 // helpful data structure … … 127 127 bool isUserDefinedFunc = ! LinkageSpec::isOverridable( function->get_linkage() ); 128 128 bool isDefaultFunc = function->get_functionType()->get_parameters().size() == 1; 129 bool isCopyFunc = InitTweak::isCopy Constructor( function);129 bool isCopyFunc = InitTweak::isCopyFunction( function, function->get_name() ); 130 130 decls.push_back( DeclBall{ function, isUserDefinedFunc, isDefaultFunc, isCopyFunc } ); 131 131 userDefinedFunc = userDefinedFunc || isUserDefinedFunc;
Note: See TracChangeset
for help on using the changeset viewer.