[all-commits] [llvm/llvm-project] 17784e: [support] Add packed_endian_specific_integral::val...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Thu Jul 10 23:28:19 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 17784e8d2973494c295156ecf3a23253e3401c72
https://github.com/llvm/llvm-project/commit/17784e8d2973494c295156ecf3a23253e3401c72
Author: Pavel Labath <pavel at labath.sk>
Date: 2025-07-11 (Fri, 11 Jul 2025)
Changed paths:
M llvm/include/llvm/Support/Endian.h
M llvm/lib/ExecutionEngine/JITLink/aarch32.cpp
M llvm/unittests/Support/EndianTest.cpp
Log Message:
-----------
[support] Add packed_endian_specific_integral::value() (#147974)
They are already implicitly convertible to the underlying type, but that
doesn't work in some contexts, and it can be useful to get the
underlying value without needing the remember/guess the right type.
I converted a couple of call sites to demonstrate usefulness, but
there's likely more of them. I know at least of at least a few in LLDB,
but I don't want to make this a cross-project patch.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list