Giter Site home page Giter Site logo

Comments (4)

tcorbat avatar tcorbat commented on July 19, 2024

This issue is reported by the analysis with a lower level of confidence. It has a blue marker instead of a green. Such cases that might not be determined for sure whether the declaration should be const can be turned of separately. In the workspace preferences/project properties -> C/C++ -> Code Analysis -> Constificator Problems -> Uncheck "Possibly missing const-qualification"

We'll look into the specific case and see whether we can eliminate this false positive.
However, the duplicate override keyword must not occur. It might be a CDT issue though.

from issues.

rmerriam avatar rmerriam commented on July 19, 2024

There are a lot of false positives adding 'const' to methods.
Thanks for mentioning the marker color, I hadn't picked up on it. I think these appear as 'info' rather than 'warning'?

from issues.

tcorbat avatar tcorbat commented on July 19, 2024

Yes that's right. Those are "info" markers.
If you have specifc cases with false positives (or negatives) we're interested in knowing about them.

from issues.

fmorgner avatar fmorgner commented on July 19, 2024

Fixed in the latest version of the Beta Plug-ins. Constificator should not have reported a "low-confidence" problem in the first place, since the quick-fix resolution results in code that does not compile. Thanks for your report and happy coding!

from issues.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.