Changeset 893256d for src/CodeGen
- Timestamp:
- Jul 20, 2015, 2:29:52 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 18997b9
- Parents:
- 2794fff (diff), 994ec2c (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. - Location:
- src/CodeGen
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/FixNames.h
r2794fff r893256d 20 20 21 21 namespace CodeGen { 22 /// mangles object and function names 22 23 void fixNames( std::list< Declaration* > translationUnit ); 23 24 } // namespace CodeGen -
src/CodeGen/GenType.cc
r2794fff r893256d 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Wed Jul 08 16:08:24201513 // Update Count : 1 011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jul 9 16:43:52 2015 13 // Update Count : 13 14 14 // 15 15 … … 93 93 os << "_Atomic "; 94 94 } // if 95 if ( qualifiers.isAttribute ) { 96 os << "__attribute(( )) "; 97 } // if 95 98 if ( dimension != 0 ) { 96 99 CodeGenerator cg( os ); 97 100 dimension->accept( cg ); 98 101 } else if ( isVarLen ) { 99 // no dimension expression on a VLA 100 // means it came in with the * token 102 // no dimension expression on a VLA means it came in with the * token 101 103 os << "*"; 102 104 } // if … … 202 204 typeString = "_Atomic " + typeString; 203 205 } // if 206 if ( type->get_isAttribute() ) { 207 typeString = "__attribute(( )) " + typeString; 208 } // if 204 209 } 205 210 } // namespace CodeGen -
src/CodeGen/Generate.h
r2794fff r893256d 23 23 24 24 namespace CodeGen { 25 /// Generates code 25 26 void generate( std::list< Declaration* > translationUnit, std::ostream &os, bool doIntrinsics ); 26 27 } // namespace CodeGen
Note: See TracChangeset
for help on using the changeset viewer.