Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
0buffer
cppcheck
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cppcheck
test
testcondition.cpp
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 6, 2019
Fix typos (#1568)
practicalswift
authored and
danmar
committed
0a1b3a9
View commit details
Copy full SHA for 0a1b3a9
View code at this point
Browse repository at this point
Commits on Jan 2, 2019
Comment out code in valueFlowArray. There was too many false positives.
danmar
committed
39ceb53
View commit details
Copy full SHA for 39ceb53
View code at this point
Browse repository at this point
Commits on Dec 18, 2018
Fix issue 8905: Condition 'a==0' is always false
Show description for 34330b5
pfultz2
authored and
danmar
committed
34330b5
View commit details
Copy full SHA for 34330b5
View code at this point
Browse repository at this point
Commits on Dec 17, 2018
Fix issue 8829: Condition '...' is always true (int buf[42]; if(buf != NULL){})
Show description for 025881c
pfultz2
authored and
danmar
committed
025881c
View commit details
Copy full SHA for 025881c
View code at this point
Browse repository at this point
Commits on Nov 27, 2018
Fix FP with strcmp and terminating conditions
pfultz2
authored and
danmar
committed
5a6f9ac
View commit details
Copy full SHA for 5a6f9ac
View code at this point
Browse repository at this point
Commits on Nov 14, 2018
Fix issue 8842: Crash in valueFlowTerminatingCondition on incomplete code (#1480)
pfultz2
authored and
danmar
committed
f0c86b9
View commit details
Copy full SHA for f0c86b9
View code at this point
Browse repository at this point
Commits on Nov 11, 2018
Fix issue 8841: FP knownConditionTrueFalse - Dont treat unknown function as noreturn (#1474)
Show description for e466915
pfultz2
authored and
danmar
committed
e466915
View commit details
Copy full SHA for e466915
View code at this point
Browse repository at this point
Commits on Nov 9, 2018
Fix issue 8839: FP knownConditionTrueFalse - condition inside a while-clause (#1469)
pfultz2
authored and
danmar
committed
36e663e
View commit details
Copy full SHA for 36e663e
View code at this point
Browse repository at this point
Commits on Nov 7, 2018
Add a pass in valueflow for terminating conditions (#1323)
Show description for 7373be2
pfultz2
authored and
danmar
committed
7373be2
View commit details
Copy full SHA for 7373be2
View code at this point
Browse repository at this point
Commits on Nov 2, 2018
Try to fix Travis
danmar
committed
e53be26
View commit details
Copy full SHA for e53be26
View code at this point
Browse repository at this point
Commits on Oct 31, 2018
Fix FPs with return conditions (#1455)
Show description for fafd074
pfultz2
authored and
danmar
committed
fafd074
View commit details
Copy full SHA for fafd074
View code at this point
Browse repository at this point
Commits on Oct 24, 2018
Fixed #8797 (exprDependsOnThis handle method call in non-inline method)
danmar
committed
b8e8b12
View commit details
Copy full SHA for b8e8b12
View code at this point
Browse repository at this point
#8801: Quick fix for false positives
danmar
committed
2348dcd
View commit details
Copy full SHA for 2348dcd
View code at this point
Browse repository at this point
Commits on Oct 21, 2018
Fix FP issue 8801: Condition 'a+b' is always true (#1444)
pfultz2
authored and
danmar
committed
edde0ee
View commit details
Copy full SHA for edde0ee
View code at this point
Browse repository at this point
Commits on Oct 20, 2018
Tokenizer: Avoid constant folding
danmar
committed
29feaa5
View commit details
Copy full SHA for 29feaa5
View code at this point
Browse repository at this point
Commits on Oct 18, 2018
Check conditions in return statements (#1411)
Show description for 40cb9cb
pfultz2
authored and
danmar
committed
40cb9cb
View commit details
Copy full SHA for 40cb9cb
View code at this point
Browse repository at this point
Commits on Oct 7, 2018
Fixed #8735 (FP oppositeInnerCondition - regression)
danmar
committed
f961324
View commit details
Copy full SHA for f961324
View code at this point
Browse repository at this point
Commits on Oct 4, 2018
Enable followVar for opposite expressions (#1404)
Show description for e170a45
pfultz2
authored and
danmar
committed
e170a45
View commit details
Copy full SHA for e170a45
View code at this point
Browse repository at this point
Commits on Oct 1, 2018
Reenable follow var for logical conjunction (#1400)
pfultz2
authored and
danmar
committed
1fe1ec0
View commit details
Copy full SHA for 1fe1ec0
View code at this point
Browse repository at this point
Reenable followVar for multicondition (#1401)
pfultz2
authored and
danmar
committed
2c91b95
View commit details
Copy full SHA for 2c91b95
View code at this point
Browse repository at this point
Commits on Sep 28, 2018
Fix false positives in unknownEvaluationOrder when using followVar (#1391)
Show description for f65cf22
pfultz2
authored and
danmar
committed
f65cf22
View commit details
Copy full SHA for f65cf22
View code at this point
Browse repository at this point
Commits on Sep 23, 2018
Temporarily comment out the followVariable() handling
danmar
committed
afe09f4
View commit details
Copy full SHA for afe09f4
View code at this point
Browse repository at this point
Commits on Sep 8, 2018
Fix issue 8740: Add a pass to check for valid operators (#1372)
pfultz2
authored and
danmar
committed
fa40b82
View commit details
Copy full SHA for fa40b82
View code at this point
Browse repository at this point
Commits on Sep 7, 2018
Fix issue 8737: FP with identical inner condition due to followVar (#1371)
pfultz2
authored and
danmar
committed
cb03b98
View commit details
Copy full SHA for cb03b98
View code at this point
Browse repository at this point
Fix issue 8738: Dont warn about multiconditions when value is known (#1369)
pfultz2
authored and
danmar
committed
5a2362b
View commit details
Copy full SHA for 5a2362b
View code at this point
Browse repository at this point
Commits on Sep 6, 2018
Fix issue 8722: Avoid duplicate messages due for followVar (#1367)
pfultz2
authored and
danmar
committed
2da958e
View commit details
Copy full SHA for 2da958e
View code at this point
Browse repository at this point
Commits on Sep 5, 2018
Reenable followVar (#1363)
Show description for 08f301a
pfultz2
authored and
danmar
committed
08f301a
View commit details
Copy full SHA for 08f301a
View code at this point
Browse repository at this point
Commits on Sep 1, 2018
Temporarily disable followVariableExpressions(), there are problems that should be fixed.
danmar
committed
a331206
View commit details
Copy full SHA for a331206
View code at this point
Browse repository at this point
Commits on Aug 27, 2018
Check if member function modifies the variable (#1350)
Show description for fc135e1
pfultz2
authored and
danmar
committed
fc135e1
View commit details
Copy full SHA for fc135e1
View code at this point
Browse repository at this point
Commits on Aug 10, 2018
Fix issue 8369: False negative: Condition 'condition' is always true (#1325)
Show description for 3947c23
pfultz2
authored and
danmar
committed
3947c23
View commit details
Copy full SHA for 3947c23
View code at this point
Browse repository at this point
Commits on Aug 7, 2018
Fix issue 8413: Condition is always false 'i=expr; if (i != expr) {}' (#1295)
Show description for f603b52
pfultz2
authored and
danmar
committed
f603b52
View commit details
Copy full SHA for f603b52
View code at this point
Browse repository at this point
Commits on Aug 5, 2018
astyle formatting
Show description for 1b933f4
danmar
committed
1b933f4
View commit details
Copy full SHA for 1b933f4
View code at this point
Browse repository at this point
Fix issue 6856: add checks in isOppositeCond when using == and < or > (#1298)
Show description for b839ad6
pfultz2
authored and
danmar
committed
b839ad6
View commit details
Copy full SHA for b839ad6
View code at this point
Browse repository at this point
Commits on Jul 23, 2018
Fix issue 470: Condition is always true or false on logical operators (#1294)
Show description for 9895ea5
pfultz2
authored and
danmar
committed
9895ea5
View commit details
Copy full SHA for 9895ea5
View code at this point
Browse repository at this point
Commits on Jul 21, 2018
Clarify warnings when char literals are converted to bool in conditions
danmar
committed
77b653b
View commit details
Copy full SHA for 77b653b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.