Home
last modified time | relevance | path

Searched refs:IntWithNotMask (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/gnu/llvm/llvm/tools/llvm-rc/
H A DResourceScriptStmt.h70 class IntWithNotMask {
76 IntWithNotMask() : IntWithNotMask(RCInt(0)) {} in IntWithNotMask() function
77 IntWithNotMask(RCInt Value, int32_t NotMask = 0) : Value(Value), NotMask(NotMask) {} in Value()
87 IntWithNotMask &operator+=(const IntWithNotMask &Rhs) {
94 IntWithNotMask &operator-=(const IntWithNotMask &Rhs) {
101 IntWithNotMask &operator|=(const IntWithNotMask &Rhs) {
108 IntWithNotMask &operator&=(const IntWithNotMask &Rhs) {
115 IntWithNotMask operator-() const { return {-Value, NotMask}; }
116 IntWithNotMask operator~() const { return {~Value, 0}; }
118 friend raw_ostream &operator<<(raw_ostream &OS, const IntWithNotMask &Int) {
[all …]
H A DResourceScriptParser.h88 Expected<IntWithNotMask> parseIntExpr1();
89 Expected<IntWithNotMask> parseIntExpr2();
H A DResourceScriptParser.cpp153 Expected<IntWithNotMask> RCParser::parseIntExpr1() { in parseIntExpr1()
156 IntWithNotMask Result = *FirstResult; in parseIntExpr1()
187 Expected<IntWithNotMask> RCParser::parseIntExpr2() { in parseIntExpr2()
221 return IntWithNotMask(0, (*Result).getValue()); in parseIntExpr2()
557 std::optional<IntWithNotMask> Style; in parseControl()
H A DResourceFileWriter.cpp990 IntWithNotMask CtlStyle(TypeInfo.Style); in writeSingleDialogControl()