[PATCH] D55242: [llvm-rc] Support not expressions.
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 5 04:55:29 PST 2018
mstorsjo 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
----------------
`0x34 & ~0x15 = 0x20`, not `0x22`. So this should be "expression evaluates to 0x20". The 0x02 part comes from the default groupbox class style.
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