3 Commits

Author SHA1 Message Date
Endre Fülöp
65134634f9
Reland "[clang][analyzer] Add ReportInC99AndEarlier option to Depreca… (#177379)
…tedOrUnsafeBuf…" (#176603)

The bolt-aarch64-ubuntu-clang failure seems unrelated.

This reverts commit 17ff9b3c67ab62f77b2dd5cba98fa0011f14d9a2.
2026-01-22 17:20:29 +01:00
Endre Fülöp
17ff9b3c67
Revert "[clang][analyzer] Add ReportInC99AndEarlier option to DeprecatedOrUnsafeBuf…" (#176603)
Reverts llvm/llvm-project#168704
Checking what causes the clang-bolt buildbot failure.
2026-01-17 23:50:36 +01:00
Endre Fülöp
694c4d6539
[clang][analyzer] Add ReportInC99AndEarlier option to DeprecatedOrUnsafeBuf… (#168704)
…ferHandling checker

The checker may report warnings for deprecated buffer handling functions
(memcpy, memset, memmove, etc.) even when not compiling with C11
standard if the new option "ReportInC99AndEarlier" is set to true.

These functions are deprecated in C11, but may still be problematic in
earlier C standards.
2026-01-17 21:53:32 +01:00