[PATCH] D55242: [llvm-rc] Support not expressions.
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 4 01:06:49 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) // = 0x22 with not mask 0x15, which clears 0x5 default class style bits
+ GROUPBOX "", 1, 0,0,0,0,(not 7) | 1 // = 1 with not mask 0x7, which clears 0x7 default class style bits, but sets bit 1
----------------
Isn't this actually 0x50000022, not just 0x22? The testcase would be easier to grasp if you'd point out what the default style values involved are.
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