[llvm] Don't rely on undefined behavior to store how a `User` object's allocation is laid out (PR #105714)
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 9 14:12:02 PDT 2024
https://github.com/rnk commented:
Thanks! I like this explicit approach. I spent like 15minutes prototyping a version of this with two booleans, and it was awful, unreadable, easy to confuse, hard to refactor, etc etc. I was going to try again with a flags enum, but I like your approach with the bitfield.
https://github.com/llvm/llvm-project/pull/105714
More information about the llvm-commits
mailing list