Changes in src/AST/Type.hpp [746ae82:76ed81f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Type.hpp
r746ae82 r76ed81f 47 47 bool is_atomic() const { return qualifiers.is_atomic; } 48 48 49 void set_const( bool v ) { qualifiers.is_const = v; }50 void set_restrict( bool v ) { qualifiers.is_restrict = v; }51 void set_lvalue( bool v ) { qualifiers.is_lvalue = v; }52 void set_mutex( bool v ) { qualifiers.is_mutex = v; }53 void set_atomic( bool v ) { qualifiers.is_atomic = v; }49 Type * set_const( bool v ) { qualifiers.is_const = v; return this; } 50 Type * set_restrict( bool v ) { qualifiers.is_restrict = v; return this; } 51 Type * set_lvalue( bool v ) { qualifiers.is_lvalue = v; return this; } 52 Type * set_mutex( bool v ) { qualifiers.is_mutex = v; return this; } 53 Type * set_atomic( bool v ) { qualifiers.is_atomic = v; return this; } 54 54 55 55 /// How many elemental types are represented by this type
Note: See TracChangeset
for help on using the changeset viewer.