This change is twofold.
- Introduces the Configuration subpage under the user-docs of the analyzer.
- Adds a section describing the modeling of flexible array members.
This page would house a more user-friendly digest of the most useful analyzer config options.
It's not aimed to be a complete list of the options, rather be first aid for the users if the analysis has some unintended behavior, such as false positives regarding e.g. FAMs for form 3.
They could use this page to help them decide if there is a known option that they missed and give guidance on how to look for more config options if these don't solve their issue.
Most of these options are not intended for end users. Anything with -cc1 or -Xclang is not intended for end users. If end users need this, we should provide user-friendly options (eg., driver flags).
In fact, we already have an -analyzer-config flag in scan-build and scan-build --help already documents one user-facing flag:
This might be a better place to put this info. If you really want a more generic documentation page, you should still use a user-facing tool such as scan-build in your examples. Or anyhow redirect to whatever UI the user is using.