bkietz commented on a change in pull request #11887: URL: https://github.com/apache/arrow/pull/11887#discussion_r765387997
########## File path: cpp/src/arrow/util/macros.h ########## @@ -97,6 +97,17 @@ #endif // ifndef NULLPTR +// ---------------------------------------------------------------------- +// microsoft source-code annotation language + +#ifndef _In_z_ +#define _In_z_ +#endif + +#ifndef _Out_writes_opt_ +#define _Out_writes_opt_(size) Review comment: I think modifying the codebase to support a static analyzer is a fairly disruptive change and the benefit should be carefully weighed against the maintenance overhead of these annotations. Could you please note on the JIRA why PREfast is a compelling analyzer to support? I'm also curious about the reasoning for the specific locations where the annotations were added and whether PREfast could be profitably added to our CI suite -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org