This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Remove deprecated analyzer-config options
ClosedPublic

Authored by steakhal on Jul 5 2023, 1:13 AM.

Details

Summary

The consider-single-element-arrays-as-flexible-array-members analyzer
option was deprecated in clang-16, and now removed from clang-17 as
promised in
https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html#static-analyzer

This shouldn't change observable behavior.

Diff Detail

Event Timeline

steakhal created this revision.Jul 5 2023, 1:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 5 2023, 1:13 AM
steakhal requested review of this revision.Jul 5 2023, 1:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 5 2023, 1:13 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

I'll mention this change in the Release Notes separately as we are getting closer and closer to branching off for the clang-17 release on 25th of July.
Read more here.

The option was deprecated in D138659

xazax.hun accepted this revision.Jul 5 2023, 3:09 AM
This revision is now accepted and ready to land.Jul 5 2023, 3:09 AM
This revision was landed with ongoing or failed builds.Jul 7 2023, 4:25 AM
This revision was automatically updated to reflect the committed changes.