[clang] [PAC][clang] Define `PointerAuthQualifier` and `PointerAuthenticationMode` (PR #84384)
Michael Buch via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 12 06:08:56 PDT 2024
================
@@ -251,15 +423,16 @@ class Qualifiers {
}
// Deserialize qualifiers from an opaque representation.
- static Qualifiers fromOpaqueValue(unsigned opaque) {
+ static Qualifiers fromOpaqueValue(uint64_t Opaque) {
Qualifiers Qs;
- Qs.Mask = opaque;
+ Qs.Mask = uint32_t(Opaque);
----------------
Michael137 wrote:
Either of those look better imo, or could even use `maskTrailingOnes` from `Support/MathExtras.h`
https://github.com/llvm/llvm-project/pull/84384
More information about the cfe-commits
mailing list