Changeset 9facf3b for src/CodeGen
- Timestamp:
- Dec 15, 2016, 1:33:23 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:
- 5802a4f
- Parents:
- 1486116
- git-author:
- Rob Schluntz <rschlunt@…> (12/15/16 12:00:08)
- git-committer:
- Rob Schluntz <rschlunt@…> (12/15/16 13:33:23)
- Location:
- src/CodeGen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r1486116 r9facf3b 911 911 } // switch 912 912 } 913 914 std::string genName( DeclarationWithType * decl ) { 915 CodeGen::OperatorInfo opInfo; 916 if ( operatorLookup( decl->get_name(), opInfo ) ) { 917 return opInfo.outputName; 918 } else { 919 return decl->get_name(); 920 } // if 921 } 913 922 } // namespace CodeGen 914 923 -
src/CodeGen/CodeGenerator.h
r1486116 r9facf3b 143 143 return true; 144 144 } 145 146 /// returns C-compatible name of declaration 147 std::string genName( DeclarationWithType * decl ); 145 148 } // namespace CodeGen 146 149
Note: See TracChangeset
for help on using the changeset viewer.