[all-commits] [llvm/llvm-project] cd561b: [support] Make ScopedPrinter compatible with bitma...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Wed Jul 9 00:10:18 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cd561bf1f17941a875c9319cf728ff9fc13f0a5a
https://github.com/llvm/llvm-project/commit/cd561bf1f17941a875c9319cf728ff9fc13f0a5a
Author: Pavel Labath <pavel at labath.sk>
Date: 2025-07-09 (Wed, 09 Jul 2025)
Changed paths:
M llvm/include/llvm/Support/ScopedPrinter.h
M llvm/unittests/Support/ScopedPrinterTest.cpp
Log Message:
-----------
[support] Make ScopedPrinter compatible with bitmask enums (#147512)
.. produced by ADT/BitmaskEnum.h.
These aren't implicitly convertible to an integer, so I needed to tweak
a couple of bitwise operations and add an explicit constructor for
HexNumber and FlagEntry.
Motivation: I'd like to use this in the SFrame data structures (#147264)
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