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

C++ Style checker

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      To avoid style glitches, it would be handy to have a style checker to catch the most common (and hard to find) errors such as whitespaces, tabs, line widths and so forth.
      While it is not likely to find a fully compatible style checker, Google's cpplint can be configured to match a small subset of rules.

      An example of such a script can be found here:
      https://gist.github.com/nqn/6814621

      This is just an example, which find about 170 whitespace and readability errors in the current master branch. Can be configured to the extent needed.

      Attachments

        Activity

          People

            nnielsen Niklas Quarfot Nielsen
            nnielsen Niklas Quarfot Nielsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: