[PATCH] D85778: More accurately compute the ranges of possible values for +, -, *, &, %.

Richard Trieu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 12 19:01:10 PDT 2020


rtrieu accepted this revision.
rtrieu added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: clang/lib/Sema/SemaChecking.cpp:10166
+  /// The number of bits active in the int. Note that this includes exactly one
+  /// sign bit if !NoNegative.
   unsigned Width;
----------------
NonNegative


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85778



More information about the cfe-commits mailing list