[PATCH] D55242: [llvm-rc] Support not expressions.

Jacek Caban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 5 05:00:14 PST 2018


jacek marked an inline comment as done.
jacek added inline comments.


================
Comment at: test/tools/llvm-rc/Inputs/not-expr.rc:13
+        15 + (((not 1 | not 2 | not 4) | 2)), // = 10
+        0, 0, 0x34 - (not 1) + (not 0x14) // expression evaluates to 0x22 with not mask 0x15, which clears 0x5 bits of default
+                                          // groupbox class style 0x50000007, resulting with style 0x50000022
----------------
mstorsjo wrote:
> `0x34 & ~0x15 = 0x20`, not `0x22`. So this should be "expression evaluates to 0x20". The 0x02 part comes from the default groupbox class style.
Oh, right, thanks. I will attach a fixed version.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55242/new/

https://reviews.llvm.org/D55242





More information about the llvm-commits mailing list