================
@@ -10264,6 +10264,11 @@ def warn_depr_array_comparison : Warning<
   "to compare array addresses, use unary '+' to decay operands to pointers">,
   InGroup<DeprecatedArrayCompare>;
 
+def warn_array_comparison : Warning<
+  "comparison between two arrays; "
----------------
shafik wrote:

Maybe "Comparison between two arrays won't compare their contents but their 
addresses"? So if folks were confused as two what it did then they would know 
and if not then they can manually force the array-to-pointer conversion to 
acknowledge what they want to do.

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

Reply via email to