[all-commits] [llvm/llvm-project] 96b9b2: [Clang] Fix '-Wformat-overflow' FP when floats had...
Baranov Victor via All-commits
all-commits at lists.llvm.org
Mon Jun 30 12:44:09 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96b9b2e21de466490ba733a23e8bb6cbd39ad58c
https://github.com/llvm/llvm-project/commit/96b9b2e21de466490ba733a23e8bb6cbd39ad58c
Author: Baranov Victor <bar.victor.2002 at gmail.com>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaChecking.cpp
M clang/test/Sema/warn-format-overflow-truncation.c
Log Message:
-----------
[Clang] Fix '-Wformat-overflow' FP when floats had field-width and plus prefix (#144274)
If field width is specified, the sign/space is already accounted for
within the field width, so no additional size is needed.
Fixes https://github.com/llvm/llvm-project/issues/143951.
---------
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list