Skip to content

Disable DeprecatedOrUnsafeBufferHandling analyzer check#623

Merged
jgm merged 1 commit into
commonmark:masterfrom
nwellnhof:disable-clang-tidy-check
Jun 10, 2026
Merged

Disable DeprecatedOrUnsafeBufferHandling analyzer check#623
jgm merged 1 commit into
commonmark:masterfrom
nwellnhof:disable-clang-tidy-check

Conversation

@nwellnhof

Copy link
Copy Markdown
Contributor

Should make CI green again.

When compiling with C11 or later, this check suggests to use C11 Annex K
functions like memcpy_s. These functions aren't widely supported.

We will lose some warnings about really dangerous functions like
sprintf, but this check doesn't offer more granularity, see
llvm/llvm-project#64027.
@jgm jgm merged commit 54b2be5 into commonmark:master Jun 10, 2026
15 checks passed
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.

2 participants