Ignore:
Timestamp:
Mar 16, 2017, 5:20:16 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
3743983
Parents:
1fbab5a
Message:

Implemented monitor keyword, and it works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Type.h

    r1fbab5a ref42b143  
    9292                bool operator<=( Qualifiers other ) const {
    9393                        return isConst <= other.isConst && isVolatile <= other.isVolatile &&
    94                                 isMutex == other.isMutex && isAtomic == other.isAtomic;
     94                                isMutex >= other.isMutex && isAtomic == other.isAtomic;
    9595                }
    9696                bool operator>=( Qualifiers other ) const {
    9797                        return isConst >= other.isConst && isVolatile >= other.isVolatile &&
    98                                 isMutex == other.isMutex && isAtomic == other.isAtomic;
     98                                isMutex <= other.isMutex && isAtomic == other.isAtomic;
    9999                }
    100100                bool operator<( Qualifiers other ) const {
Note: See TracChangeset for help on using the changeset viewer.