Changeset 1e6b350 for src/CodeTools/DeclStats.cc
- Timestamp:
- Feb 28, 2017, 4:43:49 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:
- 60401b76
- Parents:
- 14f6bb39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeTools/DeclStats.cc
r14f6bb39 r1e6b350 200 200 // skip if already seen declaration for this function 201 201 const std::string& mangleName = decl->get_mangleName().empty() ? decl->get_name() : decl->get_mangleName(); 202 if ( ! seen_names.insert( mangleName ).second ) return; 202 if ( ! seen_names.insert( mangleName ).second ) { 203 maybeAccept( decl->get_statements(), *this ); 204 return; 205 } 203 206 204 207 Stats& stats = for_linkage[ decl->get_linkage() ]; … … 228 231 229 232 analyzeFunc( fnTy, stats, stats.params, stats.returns ); 233 234 // analyze expressions in decl statements 235 maybeAccept( decl->get_statements(), *this ); 230 236 } 231 237
Note: See TracChangeset
for help on using the changeset viewer.