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)

Reply via email to