Changeset 8191203 for src/CodeTools
- Timestamp:
- Mar 3, 2017, 10:12:10 PM (9 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, stuck-waitfor-destruct, with_gc
- Children:
- c443d1d, d107010
- Parents:
- dd020c0 (diff), bf8da66 (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
-
src/CodeTools/DeclStats.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeTools/DeclStats.cc
rdd020c0 r8191203 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.