================
@@ -7021,8 +7021,10 @@ def warn_counted_by_attr_elt_type_unknown_size :
   InGroup<BoundsSafetyCountedByEltTyUnknownSize>;
 
 // __builtin_counted_by_ref diagnostics:
-def err_builtin_counted_by_ref_must_be_flex_array_member : Error<
-  "'__builtin_counted_by_ref' argument must reference a flexible array 
member">;
+def err_builtin_counted_by_ref_invalid_arg
+    : Error<"'__builtin_counted_by_ref' argument must reference a member with "
+            "the "
+            "'counted_by' attribute">;
----------------
kees wrote:

Oh, I blindly applied "git-clang-format" before the git push and didn't notice 
that it split line 7025 without merging 7027. :P Thanks for catching that!

https://github.com/llvm/llvm-project/pull/170750
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to