Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support cppcheck 1.86 #1620

Merged
merged 1 commit into from
Dec 12, 2018
Merged

Conversation

ivangalkin
Copy link
Contributor

@ivangalkin ivangalkin commented Dec 8, 2018

  • add new rules from version 1.86

    • danglingLifetime
    • duplicateAssignExpression
    • invalidFunctionArgStr
    • invalidLifetime
    • iterators1
    • iterators3
    • iteratorsCmp1
    • iteratorsCmp2
    • returnDanglingLifetime
    • returnNonBoolInBooleanFunction
    • shadowFunction
    • shadowVar
  • Update <name>s and <description>s from the newest version

  • Remove dead links like https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=XXXX

fixes #1616


This change is Reviewable

@ivangalkin ivangalkin added this to the 1.2.1 milestone Dec 8, 2018
@ivangalkin ivangalkin self-assigned this Dec 8, 2018
@ivangalkin
Copy link
Contributor Author

@guwirth please validate the milestone; thank you!

@guwirth
Copy link
Collaborator

guwirth commented Dec 9, 2018

Hi @ivangalkin,

PR failing: CxxCppCheckRuleRepositoryTest.createRulesTest:44 expected:<491> but was:<503>

Version number: let‘s add it and decide at the end what‘s all in the version how we call it. Depends also a little bit when next SQ is released, planned was 10th December. But last time they had 2 weeks delay.

* add new rules from version 1.86

	* danglingLifetime
	* duplicateAssignExpression
	* invalidFunctionArgStr
	* invalidLifetime
	* iterators1
	* iterators3
	* iteratorsCmp1
	* iteratorsCmp2
	* returnDanglingLifetime
	* returnNonBoolInBooleanFunction
	* shadowFunction
	* shadowVar

* Update `<name>`s and `<description>`s from the newest version
* Remove dead-links like `https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=XXXX`
@guwirth guwirth merged commit 52099e0 into SonarOpenCommunity:master Dec 12, 2018
@guwirth guwirth mentioned this pull request Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

US: Cppcheck 1.86 support
2 participants