Changes in src/SymTab/Indexer.cc [24670d2:ee1635c8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Indexer.cc
r24670d2 ree1635c8 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.