mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Park (JIRA)" <>
Subject [jira] [Commented] (MESOS-4907) ClangTidy Integration
Date Thu, 01 Sep 2016 19:00:23 GMT


Michael Park commented on MESOS-4907:

commit b817e82235c65fa7044de60c9ca31fe6e4d60c48
Author: Benjamin Bannier <>
Date:   Thu Sep 1 20:43:11 2016 +0200

    Added tooling to execute Mesos-specific clang-tidy checks.

    This commit adds tooling to both build and execute Mesos-specific
    clang-tidy checks. We use a docker container for the execution, and
    also provide a script to further streamline the tooling.


> ClangTidy Integration
> ---------------------
>                 Key: MESOS-4907
>                 URL:
>             Project: Mesos
>          Issue Type: Epic
>          Components: technical debt
>            Reporter: Michael Park
>              Labels: gsoc, gsoc2016, mentor, mesosphere
> While {{cpplint}} has been a useful tool as a C++ linter for quite some time,
> It carries limitations since it does its best without actually parsing C++.
> [ClangTidy|] is a clang tool that is based
> off of Clang, and has the advantage that it has access to a full AST.
> There are many checks that come built-in with {{clang-tidy}} which are very useful,
> but we can extend it to fit Mesos coding style and patterns as well.
> The initial phase of the project will be to create a basis with which to leverage
> the existing checks as applicable to Mesos, then to create a scaffolding to add
> custom checks, and ways to integrate the custom checks to infrastructure such
> as Mesos ReviewBot, or Apache CI.
> I've done some preliminary, experimental work for this for a Hackathon project
> and have given a [presentation|]

This message was sent by Atlassian JIRA

View raw message