clang-tidy results from headers are not being reported

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Dev Platform 2021-08-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      By default, clang-tidy doesn't report errors in headers, which is probably why coverity picked up SERVER-57428 but our clang-tidy run didn't. We need to run with a -header-filter argument in order to opt in to reports from our headers. Most likely, that will look something like -header-filter='mongo/.*'.

            Assignee:
            Daniel Moody
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: