Add clang-tidy run in addition to lint

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • Dev Tools 2019-10-07
    • 50
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As detailed in SERVER-27897, and the linked issues from there, unused RAII objects are often an indication of bugs. To avoid recurrence of this class of bugs, we need additional checking. As max.hirschhorn noted, `clang-tidy` provides just that: http://clang.llvm.org/extra/clang-tidy/checks/misc-unused-raii.html

      This ticket is to add such checking.

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Geert Bosch
            Votes:
            2 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: