Changeset bff227f for src/SymTab/Indexer.cc
- Timestamp:
- Jul 21, 2017, 3:57:11 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:
- 9191a8e
- Parents:
- 53a8e68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Indexer.cc
r53a8e68 rbff227f 26 26 27 27 #include "Common/utility.h" 28 29 #include "CodeGen/OperatorTable.h" 28 30 29 31 #include "ResolvExpr/typeops.h" … … 112 114 void Indexer::removeSpecialOverrides( const std::string &id, std::list< DeclarationWithType * > & out ) const { 113 115 // only need to perform this step for constructors, destructors, and assignment functions 114 if ( ! InitTweak::isCtorDtorAssign( id ) ) return;116 if ( ! CodeGen::isCtorDtorAssign( id ) ) return; 115 117 116 118 // helpful data structure … … 140 142 decls.push_back( DeclBall{ function, isUserDefinedFunc, isDefaultCtor, isDtor, isCopyFunc } ); 141 143 existsUserDefinedFunc = existsUserDefinedFunc || isUserDefinedFunc; 142 existsUserDefinedCtor = existsUserDefinedCtor || (isUserDefinedFunc && InitTweak::isConstructor( function->get_name() ) );144 existsUserDefinedCtor = existsUserDefinedCtor || (isUserDefinedFunc && CodeGen::isConstructor( function->get_name() ) ); 143 145 existsUserDefinedDtor = existsUserDefinedDtor || (isUserDefinedFunc && isDtor); 144 146 existsUserDefinedCopyFunc = existsUserDefinedCopyFunc || (isUserDefinedFunc && isCopyFunc);
Note: See TracChangeset
for help on using the changeset viewer.