Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-2423

S5500: Fix false-positives move constructors/assignment operators don't need to move their argument

    Details

    • Type: False-Positive
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7
    • Component/s: C++
    • Labels:
      None

      Description

      I think move constructor and move assignment should always be an exception. Or the exception mechanism should be really improved to avoid cases like the attached one.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                loic.joly Loïc Joly
                Reporter:
                abbas.sabra Abbas Sabra
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: