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

add use-after-move rule to clang-tidy evergreen builder

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Execution Team 2020-08-10
    • Linked BF Score:
      40

      Description

      In SERVER-49229, we resolved a violation of the use-after-move rule in C++. Currently, our clang-tidy checker, introduced in SERVER-27984, does not enable this check. It would be beneficial to use the clang-tidy checker to detect other instances of the defect described in SERVER-49229.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              benety.goh Benety Goh
              Reporter:
              bynn.lee Bynn Lee (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: