================
@@ -112,98 +113,17 @@ struct DescriptorTableYaml {
   SmallVector<DescriptorRangeYaml> Ranges;
 };
 
+using ParameterData =
+    std::variant<RootConstantsYaml, RootDescriptorYaml, DescriptorTableYaml>;
+
 struct RootParameterYamlDesc {
   uint32_t Type;
----------------
inbelic wrote:

This field can be removed now right? IIUC, it is held in the variant

edit: Ah wait, it seems we use it when constructing the object from YAML. Is 
there an easy way we can just use the variant type to do so?

https://github.com/llvm/llvm-project/pull/138318
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to