Changeset bdd516a for translator/CodeGen
- Timestamp:
- Apr 28, 2015, 4:21:36 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, string, with_gc
- Children:
- 42e2ad7
- Parents:
- ad17ba6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/CodeGen/GenType.cc
rad17ba6a rbdd516a 74 74 if ( qualifiers.isRestrict ) { 75 75 os << "__restrict "; 76 } // if 77 if ( qualifiers.isAtomic ) { 78 os << "_Atomic "; 76 79 } // if 77 80 if ( isVarLen ) { … … 180 183 typeString = "__restrict " + typeString; 181 184 } // if 185 if ( type->get_isAtomic() ) { 186 typeString = "_Atomic " + typeString; 187 } // if 182 188 } 183 189 } // namespace CodeGen
Note: See TracChangeset
for help on using the changeset viewer.