Szelethus added inline comments.

================
Comment at: clang/test/Analysis/vla-overflow.c:10
+    // Size of this array should be the first to overflow.
+    size_t s = sizeof(char[x][x][x][x]); // expected-warning{{Declared 
variable-length array (VLA) has too large size}}
+    return s;
----------------
Let's not trim be checker name here.

Also, we could mention what the specific size is.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79330/new/

https://reviews.llvm.org/D79330



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to