aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/unittests/clang-tidy
diff options
context:
space:
mode:
authorcamc <69519329+camc@users.noreply.github.com>2025-09-07 13:59:58 +0100
committerGitHub <noreply@github.com>2025-09-07 20:59:58 +0800
commit59d69bfc20f1572936b29181a1cdfa309c4e209a (patch)
tree8eff37593abaf82321e32ada345772a91e645393 /clang-tools-extra/unittests/clang-tidy
parent6d6122eaff331e476addfb12c4936947a69a259d (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[clang] Detect int-to-float narrowing when the back-conversion is unspecified (#157174)HEADmain
Resolves #157067 APFloat::convertToInteger returns opInvalidOp when the conversion has unspecified value. The int-to-float narrowing detection logic doesn't check for this when comparing the converted-back integer with the original integer. PR adds a check for this, and test cases.
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy')
0 files changed, 0 insertions, 0 deletions