Clarify variant vs enum
[ctf.git] / common-trace-format-specification.txt
index 7d013d071108dcc7fd3d6bcbbea1c008cd01f935..abe4fb70fff7f17f6e8242f313fb74bff44cf89a 100644 (file)
@@ -468,9 +468,11 @@ by the mapping from the enumeration value to the string used as variant
 type selector. The field to use as tag is specified by the "tag_field",
 specified between "< >" after the "variant" keyword for unnamed
 variants, and after "variant name" for named variants. It is not
-required that each enumeration mapping appears as variant type tag field.
-However, it is required that any enumeration mapping encountered within a
-stream has a matching variant type tag field.
+required that each enumeration mapping appears as variant type tag
+field. It is also not required that each variant type tag appears as
+enumeration mapping. However, it is required that any enumeration
+mapping encountered within a stream has a matching variant type tag
+field.
 
 The alignment of the variant is the alignment of the type as selected by
 the tag value for the specific instance of the variant.  The size of the
This page took 0.022008 seconds and 4 git commands to generate.