Highlights
- Arctic Code Vault Contributor
Create your own GitHub profile
Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software alongside 50 million developers.
Sign up
Popular repositories
1,010 contributions in the last year
Contribution activity
September 2020
- pfultz2/spack Python
Created a pull request in danmar/cppcheck that received 5 comments
Extend lifetimes to subfunctions
This should diagnose cases like this: struct A { std::vector<int*> v; void add(int* i) { v.push_back(i); } void f() { int i = 0; add(&i); } };
+107
−21
•
5
comments
- Fix issue 9900: False positive: Returning lambda that captures local variable 'x' that will be invalid when returning.
- Fix issue 9899: False positive: Non-local variable will use object that points to local variable
- Fix issue 9898: false positive: knownConditionTrueFalse
- Fix issue 9897: False positive: nullPointerRedundantCheck
- Fix issue 9894: ValueFlow: wrong known value below while with assignment
- FIx issue 9895: ValueFlow: Wrong known value below function call with reference parameter
- Fix issue 9530: False positive: Reference to temporary returned when using initializer lists
- Fix issue 9889: False positive: Using reference to dangling temporary with function object
- Fix issue 9888: False positive: Using reference to dangling temporary with std::move
- Fix issue 9869: False positive: knownEmptyContainer when passed to constructor
- Fix issue 9833: False positive: Division by zero when using pointer to struct
- Fix issue 9496: False negative: Dereferencing returned smart null-pointer
- Fix issue 9835: False negative: Return reference to temporary with const reference
- Fix issue 9878: false positive: multiCondition
- Fix issue 9883: endless recursion in getLifetimeTokens
- Fix issue 9882: segfault in ForwardTraversal
- Fix issue 9858: Token::astOperand1() cyclic dependency on valid C++ code
- Fix issue 8869: false negative: (error) Invalid v.at() argument nr 1
- Fix issue 9646: False negative: Return reference to temporary with const reference
- Fix issue 8234: false negative: (warning) Opposite inner 'if' condition leads to a dead code block.
- Track lifetime for lambdas with explicit capture
- FIx issue 6140: ValueFlow: valueFlowForward, loop
- Improve check: check for known empty containers passed to algorithms
3
contributions
in private repositories
Sep 14