Ignore:
Timestamp:
Apr 28, 2015, 4:21:36 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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
Message:

fixed sizeof type variable, find lowest cost alternative for sizeof expression, removed unused classes, added compiler flag, remove temporary file for -CFA, formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/CodeGen/GenType.cc

    rad17ba6a rbdd516a  
    7474        if ( qualifiers.isRestrict ) {
    7575            os << "__restrict ";
     76        } // if
     77        if ( qualifiers.isAtomic ) {
     78            os << "_Atomic ";
    7679        } // if
    7780        if ( isVarLen ) {
     
    180183            typeString = "__restrict " + typeString;
    181184        } // if
     185        if ( type->get_isAtomic() ) {
     186            typeString = "_Atomic " + typeString;
     187        } // if
    182188    }
    183189} // namespace CodeGen
Note: See TracChangeset for help on using the changeset viewer.