Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-57446

clang-tidy results from headers are not being reported

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Dev Platform 2021-08-09

    Description

      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/.*'.

      Attachments

        Activity

          People

            daniel.moody@mongodb.com Daniel Moody
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: