Ignore:
Timestamp:
Dec 15, 2016, 11:07:20 AM (5 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
12d44bb
Parents:
c7800bfc
Message:

Suppress warnings in codegen involving zero/one types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/GenType.cc

    rc7800bfc rd78f4c0  
    204204        void GenType::visit( ZeroType *zeroType ) {
    205205                // ideally these wouldn't hit codegen at all, but should be safe to make them ints
    206                 typeString = "int " + typeString;
     206                typeString = "long int " + typeString;
    207207                handleQualifiers( zeroType );
    208208        }
     
    210210        void GenType::visit( OneType *oneType ) {
    211211                // ideally these wouldn't hit codegen at all, but should be safe to make them ints
    212                 typeString = "int " + typeString;
     212                typeString = "long int " + typeString;
    213213                handleQualifiers( oneType );
    214214        }
Note: See TracChangeset for help on using the changeset viewer.