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

create warning-only clang-tidy config with extra checks

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are some clang-tidy checks that we do not want to fail the build on but would still like to offer informational warnings in the editor about. These include checks with false positives, or potentially hazardous patterns that require care to use correctly, but are still the correct option in some cases. Ideally we could also surface these warnings as PR comments, but that should not block completion of this ticket if it proves too difficult.

      As part of this work we should produce a documentation page with all of the warning-only checks to explain why they are enabled and what people should think about if they decide to leave the code as written. In cases where the official documentation for the check is very good, we can link to that, although if the check name isn't clear, it may be worth summarizing.

            Assignee:
            Unassigned Unassigned
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None