Changeset 3f3bfe5a for src/AST/Type.hpp
- Timestamp:
- Oct 11, 2019, 2:23:30 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 396b830
- Parents:
- cf32116 (diff), 70b4ea20 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Type.hpp
rcf32116 r3f3bfe5a 51 51 bool is_volatile() const { return qualifiers.is_volatile; } 52 52 bool is_restrict() const { return qualifiers.is_restrict; } 53 bool is_lvalue() const { return qualifiers.is_lvalue; }54 53 bool is_mutex() const { return qualifiers.is_mutex; } 55 54 bool is_atomic() const { return qualifiers.is_atomic; } … … 58 57 Type * set_volatile( bool v ) { qualifiers.is_volatile = v; return this; } 59 58 Type * set_restrict( bool v ) { qualifiers.is_restrict = v; return this; } 60 Type * set_lvalue( bool v ) { qualifiers.is_lvalue = v; return this; }61 59 Type * set_mutex( bool v ) { qualifiers.is_mutex = v; return this; } 62 60 Type * set_atomic( bool v ) { qualifiers.is_atomic = v; return this; }
Note: See TracChangeset
for help on using the changeset viewer.