Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4907

ClangTidy Integration

    XMLWordPrintableJSON

Details

    • Epic
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • clang-tidy

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcypark Michael Park
            Michael Park Michael Park
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: