================ @@ -9,6 +9,9 @@ different from the number of data members inside the union. A struct or a class is considered to be a tagged union if it has exactly one union data member and exactly one enum data member and any number of other data members that are neither unions or enums. +The union and enum data members that are from system header files or +the std namespace are not considered to make up the tagged union part ---------------- EugeneZelenko wrote:
```suggestion the ``std`` namespace are not considered to make up the tagged union part ``` https://github.com/llvm/llvm-project/pull/135831 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits