Skip to content

revert clang tidy suppression - #4877

Merged
vitaut merged 1 commit into
fmtlib:mainfrom
aouxwoux:agent/revert-clang-tidy-suppression
Aug 5, 2026
Merged

revert clang tidy suppression#4877
vitaut merged 1 commit into
fmtlib:mainfrom
aouxwoux:agent/revert-clang-tidy-suppression

Conversation

@aouxwoux

@aouxwoux aouxwoux commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

what changed

revert commit 619b3a5, which added the FMT_CLANG_ANALYZER special cases to the compile-string macro and apple file buffer initialization.

why

issue #4871 shows that the suppression removes one clang-tidy false positive but introduces another for FMT_COMPILE and ormatted_size. reverting the suppression restores the original code paths and matches the maintainer's suggested fix.

checks

  • git diff --check passes.
  • the change is an exact reverse of 619b3a5 with no unrelated edits.
  • this checkout does not have cmake or a c++ compiler installed, so i could not run the local test suite.

fixes #4871

@aouxwoux
aouxwoux marked this pull request as ready for review August 2, 2026 16:37
@aouxwoux
aouxwoux requested a review from vitaut as a code owner August 2, 2026 16:37
@vitaut
vitaut merged commit 60ccad5 into fmtlib:main Aug 5, 2026
46 checks passed
@vitaut

vitaut commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Merged, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commit removing a clang-tidy false positive also introduces one

2 participants