[llvm] [BitmaskEnum] Add support for shift operators. (PR #118007)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 28 07:52:09 PST 2024


================
@@ -85,9 +85,11 @@
   using ::llvm::BitmaskEnumDetail::operator|;                                  \
   using ::llvm::BitmaskEnumDetail::operator&;                                  \
   using ::llvm::BitmaskEnumDetail::operator^;                                  \
+  using ::llvm::BitmaskEnumDetail::operator<<;                                 \
   using ::llvm::BitmaskEnumDetail::operator|=;                                 \
   using ::llvm::BitmaskEnumDetail::operator&=;                                 \
   using ::llvm::BitmaskEnumDetail::operator^=;                                 \
+  using ::llvm::BitmaskEnumDetail::operator<<=;                                \
----------------
sdesmalen-arm wrote:

Sorry, I forgot to `git add` those changes. Fixed now.

https://github.com/llvm/llvm-project/pull/118007


More information about the llvm-commits mailing list