[PATCH] D52750: [Diagnostics] Check for integer overflow in array size expressions

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 2 04:23:03 PDT 2018


xbolva00 added inline comments.


================
Comment at: lib/Sema/SemaType.cpp:2231
       }
+
+      if (isa<BinaryOperator>(ArraySize))
----------------
@rsmith what about this place for check?


https://reviews.llvm.org/D52750





More information about the cfe-commits mailing list