You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Benjamin Kietzman (JIRA)" <ji...@apache.org> on 2019/02/08 16:08:00 UTC

[jira] [Created] (ARROW-4515) [C++, lint] Use clang-format more efficiently in `check-format` target

Benjamin Kietzman created ARROW-4515:
----------------------------------------

             Summary: [C++, lint] Use clang-format more efficiently in `check-format` target
                 Key: ARROW-4515
                 URL: https://issues.apache.org/jira/browse/ARROW-4515
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Benjamin Kietzman
            Assignee: Benjamin Kietzman


`clang-format` supports command line option `-output-replacements-xml` which (in the case of no required changes) outputs:

```
<?xml version='1.0'?>
<replacements xml:space='preserve' incomplete_format='false'>
</replacements>
```

Using this option during `check-format` instead of using python to compute a diff between formatted and on-disk should speed up that target significantly



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)