You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/07/05 22:46:00 UTC

[jira] [Resolved] (ARROW-111) [C++] Add static analyzer to tool chain to verify checking of Status returns

     [ https://issues.apache.org/jira/browse/ARROW-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney resolved ARROW-111.
--------------------------------
       Resolution: Fixed
         Assignee: Wes McKinney
    Fix Version/s: 0.5.0

This was addressed by ARROW-1185 https://github.com/apache/arrow/commit/00a7d55cc06ab54af860be38fea701169b8f8aa3 -- Clang provides the {{warn_unused_result}} attribute so that unchecked Statuses will result in a compiler warning. This combined with {{-Werror}} will allow us to fail builds for unchecked Status

> [C++] Add static analyzer to tool chain to verify checking of Status returns
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-111
>                 URL: https://issues.apache.org/jira/browse/ARROW-111
>             Project: Apache Arrow
>          Issue Type: Wish
>          Components: C++
>            Reporter: Micah Kornfield
>            Assignee: Wes McKinney
>             Fix For: 0.5.0
>
>
> From Wes. Kudu wrote an LLVM static analyzer for this https://github.com/apache/incubator-kudu/tree/master/build-support/tools/kudu-lint



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)