Changeset f6835e5


Ignore:
Timestamp:
Oct 28, 2015, 3:40:28 PM (7 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
aaron-thesis, arm-eh, 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:
698664b
Parents:
adcdd2f
Message:

Removed restrict qualifier from type comparisons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Type.h

    radcdd2f rf6835e5  
    418418        return isConst == other.isConst
    419419                && isVolatile == other.isVolatile
    420                 && isRestrict == other.isRestrict
    421 //      && isLvalue == other.isLvalue
     420//              && isRestrict == other.isRestrict
     421//              && isLvalue == other.isLvalue
    422422                && isAtomic == other.isAtomic;
    423423}
     
    426426        return isConst != other.isConst
    427427                || isVolatile != other.isVolatile
    428                 || isRestrict != other.isRestrict
    429 //      || isLvalue != other.isLvalue
     428//              || isRestrict != other.isRestrict
     429//              || isLvalue != other.isLvalue
    430430                || isAtomic != other.isAtomic;
    431431}
     
    434434        return isConst <= other.isConst
    435435                && isVolatile <= other.isVolatile
    436                 && isRestrict <= other.isRestrict
    437 //      && isLvalue >= other.isLvalue
     436//              && isRestrict <= other.isRestrict
     437//              && isLvalue >= other.isLvalue
    438438                && isAtomic == other.isAtomic;
    439439}
     
    442442        return isConst >= other.isConst
    443443                && isVolatile >= other.isVolatile
    444                 && isRestrict >= other.isRestrict
    445 //      && isLvalue <= other.isLvalue
     444//              && isRestrict >= other.isRestrict
     445//              && isLvalue <= other.isLvalue
    446446                && isAtomic == other.isAtomic;
    447447}
Note: See TracChangeset for help on using the changeset viewer.