[clang] detect integer overflow through temporary values
authorLucile Nihlen <luci.the.rose@gmail.com>
Fri, 30 Jun 2023 19:48:40 +0000 (19:48 +0000)
committerLucile Nihlen <luci.the.rose@gmail.com>
Fri, 30 Jun 2023 23:19:04 +0000 (23:19 +0000)
commitb776e2a0b03e93c45deb92f36a391d457ae5b43f
treeb70597f690e3cdaf256212dc4393ee1cf536868d
parenta57bdc8fe68753c341cac0fcecabcd4d35e45466
[clang] detect integer overflow through temporary values

Fixes #63629.

Differential Revision: https://reviews.llvm.org/D154253
clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaChecking.cpp
clang/test/SemaCXX/integer-overflow.cpp