================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to