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

S1235: RSPEC contains wrong description

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.24
    • Fix Version/s: 6.26
    • Component/s: Rules
    • Labels:
      None

      Description

      It says:
      > only the base class destructor will be invoked, so the object will only be partially destroyed.

      While in fact this is UB.

        Attachments

          Activity

            People

            Assignee:
            loic.joly Loïc Joly
            Reporter:
            loic.joly Loïc Joly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: