Lines Matching refs:Type
67 #define DEFINE_OPERATORS_FOR_FLAGS(Type) \
68 inline Type operator&(Type::flag_type lhs, \
69 Type::flag_type rhs)ALLOW_UNUSED WARN_UNUSED_RESULT; \
70 inline Type operator&(Type::flag_type lhs, Type::flag_type rhs) { \
71 return Type(lhs) & rhs; \
73 inline Type operator&(Type::flag_type lhs, \
74 const Type& rhs)ALLOW_UNUSED WARN_UNUSED_RESULT; \
75 inline Type operator&(Type::flag_type lhs, const Type& rhs) { \
78 inline void operator&(Type::flag_type lhs, Type::mask_type rhs)ALLOW_UNUSED; \
79 inline void operator&(Type::flag_type lhs, Type::mask_type rhs) {} \
80 inline Type operator|(Type::flag_type lhs, Type::flag_type rhs) \
82 inline Type operator|(Type::flag_type lhs, Type::flag_type rhs) { \
83 return Type(lhs) | rhs; \
85 inline Type operator|(Type::flag_type lhs, const Type& rhs) \
87 inline Type operator|(Type::flag_type lhs, const Type& rhs) { \
90 inline void operator|(Type::flag_type lhs, Type::mask_type rhs) \
92 inline void operator|(Type::flag_type lhs, Type::mask_type rhs) {} \
93 inline Type operator^(Type::flag_type lhs, Type::flag_type rhs) \
95 inline Type operator^(Type::flag_type lhs, Type::flag_type rhs) { \
96 return Type(lhs) ^ rhs; \
97 } inline Type operator^(Type::flag_type lhs, const Type& rhs) \
99 inline Type operator^(Type::flag_type lhs, const Type& rhs) { \
101 } inline void operator^(Type::flag_type lhs, Type::mask_type rhs) \
103 inline void operator^(Type::flag_type lhs, Type::mask_type rhs) {}