Dear All,
I would like to propose a patch for specifying function attributes in .model files to be used by the analyzer checkers.
There are a number of checkers (such as nullability checkers) that rely on attributes, I would like to make these checkers available to a wider number of functions by tagging the function definition with appropriate attribute information. I have a situation where we cannot append the function attributes to library header files; instead I propose a patch that allows us to publish attribute information via .model files. The patch modifies the .model file parser to allow for the extraction of function declarations found in the .model file. Attributes are merged by reusing Sema's merging capabilities.
A new option 'faux-attributes' is added to enable this feature. 'faux-attributes' is disabled by default.
Please can you review this for submission
Regards,
Pierre Gousseau
SN-Systems - Sony Computer Entertainment
Why do we not have sanity checks? What happens when there is a conflict?