[
https://issues.apache.org/jira/browse/IMPALA-7319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe McDonnell updated IMPALA-7319:
----------------------------------
Fix Version/s: (was: Not Applicable)
> Investigate Clang Tidy Diff
> ---------------------------
>
> Key: IMPALA-7319
> URL: https://issues.apache.org/jira/browse/IMPALA-7319
> Project: IMPALA
> Issue Type: Improvement
> Components: Infrastructure
> Affects Versions: Impala 3.1.0
> Reporter: Joe McDonnell
> Assignee: Joe McDonnell
> Priority: Minor
>
> Clang has a script clang-tidy-diff.py that can run clang tidy on a diff. This
> is substantially faster than the normal run-clang-tidy.py, because it
> compiles and analyzes only the changed files. This might also allow a more
> graceful way to incorporate new clang tidy checks. Kudu has implemented this
> functionality in their project. See
> [build-support/clang_tidy_gerrit.py|[https://github.com/apache/kudu/blob/master/build-support/clang_tidy_gerrit.py].]
>
> While this is faster, it is possible to have a code change that introduces a
> clang tidy issue in code that didn't change, so clang tidy on a diff might
> miss some issues.
> We should evaluate whether this is something worth incorporating into Impala.
> It could be a good way for a developer to do a quick check before upload to
> Gerrit.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]