[clang] [llvm] [DirectX] Removing dxbc DescriptorRange from mcbxdc (PR #154629)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 29 18:36:16 PDT 2025


================
@@ -124,6 +122,11 @@ bool verifyDescriptorRangeFlag(uint32_t Version, uint32_t Type,
   }
   return (Flags & ~Mask) == FlagT::None;
 }
+bool verifyDescriptorRangeFlag(uint32_t Version, dxbc::DescriptorRangeType Type,
+                               uint32_t Flags) {
+  return verifyDescriptorRangeFlag(Version, Type,
+                                   dxbc::DescriptorRangeFlags(Flags));
+}
----------------
joaosaffran wrote:

As stated before, this is being added to avoid adding a header include, which is also recommended by llvm coding styles https://llvm.org/docs/CodingStandards.html#include-as-little-as-possible

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


More information about the llvm-commits mailing list