[PATCH] D36471: [StaticAnalyzer] Try to calculate arithmetic result when operand has a range of possible values

Daniel Marjamäki via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 9 06:43:06 PDT 2017


danielmarjamaki added a comment.

Should evalAPSInt() have machinery to do standard sign/type promotions? I suggest that I add one more argument `bool promote = false`, do you think that sounds good?


Repository:
  rL LLVM

https://reviews.llvm.org/D36471





More information about the cfe-commits mailing list