Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
cppcheck-opensource
/
cppcheck
Public
Notifications
You must be signed in to change notification settings
Fork
1.6k
Star
6.8k
Code
Pull requests
214
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
cppcheck
lib
checkcondition.cpp
on
2.3
User selector
All users
Datepicker
All time
Commit history
Commits on Dec 3, 2020
Fix issue 10004: ValueFlow: pointer value, wrongly set known value (#2931)
pfultz2
authored
904d52a
View commit details
Copy full SHA for 904d52a
View code at this point
Browse repository at this point
Commits on Nov 11, 2020
TestCondition: Don't warn when sizeof is involved (#2896)
rikardfalkeborn
authored
829c543
View commit details
Copy full SHA for 829c543
View code at this point
Browse repository at this point
Commits on Oct 22, 2020
Another fix for the crash
danmar
committed
33844b2
View commit details
Copy full SHA for 33844b2
View code at this point
Browse repository at this point
Use astIsPointer to avoid crashes
danmar
committed
bcc7c5c
View commit details
Copy full SHA for bcc7c5c
View code at this point
Browse repository at this point
Commits on Oct 20, 2020
Fix regression in CheckCondition (#2854)
Show description for e4a54a2
Ken-Patrick
authored
e4a54a2
View commit details
Copy full SHA for e4a54a2
View code at this point
Browse repository at this point
Commits on Sep 7, 2020
Fix issue 8234: false negative: (warning) Opposite inner 'if' condition leads to a dead code block. (#2781)
pfultz2
authored
a4f43fc
View commit details
Copy full SHA for a4f43fc
View code at this point
Browse repository at this point
Commits on Aug 31, 2020
Fix issue 8373: false negative: invalid iterator (#2761)
pfultz2
authored
1c5f496
View commit details
Copy full SHA for 1c5f496
View code at this point
Browse repository at this point
Commits on Jul 23, 2020
Merge pull request #2719 from pfultz2/fp-unreachable-alias
Show description for df99d8a
danmar
authored
df99d8a
View commit details
Copy full SHA for df99d8a
View code at this point
Browse repository at this point
Commits on Jul 21, 2020
Merge branch 'main' into condition-in-expr
pfultz2
committed
dbb410c
View commit details
Copy full SHA for dbb410c
View code at this point
Browse repository at this point
Fix cppcheck error
pfultz2
committed
5bc5c96
View commit details
Copy full SHA for 5bc5c96
View code at this point
Browse repository at this point
Commits on Jul 20, 2020
Refactor: Use visitAstNodes in checkcondition
rikardfalkeborn
committed
9ced26a
View commit details
Copy full SHA for 9ced26a
View code at this point
Browse repository at this point
Commits on Jul 13, 2020
Merge pull request #2709 from pfultz2/fp-duplicate-cond-this
Show description for e0be224
danmar
authored
e0be224
View commit details
Copy full SHA for e0be224
View code at this point
Browse repository at this point
Format
pfultz2
committed
519f2a5
View commit details
Copy full SHA for 519f2a5
View code at this point
Browse repository at this point
Fix FP of duplicateCondition when modifying the this variable
pfultz2
committed
450bdfe
View commit details
Copy full SHA for 450bdfe
View code at this point
Browse repository at this point
Commits on Jul 10, 2020
Fix FN with known condition and sizeof
Show description for d8e7e91
rikardfalkeborn
committed
d8e7e91
View commit details
Copy full SHA for d8e7e91
View code at this point
Browse repository at this point
Commits on Jul 1, 2020
Fixed #8858 (FP: identicalConditionAfterEarlyExit when there is #if)
danmar
committed
f56a17b
View commit details
Copy full SHA for f56a17b
View code at this point
Browse repository at this point
Commits on Jun 28, 2020
Fix issue 9578: false negative: (style) Condition '...' is always false
pfultz2
committed
d5b6d49
View commit details
Copy full SHA for d5b6d49
View code at this point
Browse repository at this point
Commits on May 23, 2020
made check.h less heavy (#2633)
firewave
authored
37bc048
View commit details
Copy full SHA for 37bc048
View code at this point
Browse repository at this point
Commits on May 10, 2020
Update copyright year
danmar
committed
08ddd84
View commit details
Copy full SHA for 08ddd84
View code at this point
Browse repository at this point
Revert "Update copyright year"
Show description for 3e02182
danmar
committed
3e02182
View commit details
Copy full SHA for 3e02182
View code at this point
Browse repository at this point
Update copyright year
danmar
committed
6eec6c4
View commit details
Copy full SHA for 6eec6c4
View code at this point
Browse repository at this point
Commits on Apr 21, 2020
fixed -Wextra-semi-stmt Clang warnings (#2553)
Show description for 1af959a
firewave
authored
1af959a
View commit details
Copy full SHA for 1af959a
View code at this point
Browse repository at this point
Commits on Apr 7, 2020
Find more redundant conditions (#2597)
pfultz2
authored
3773d0e
View commit details
Copy full SHA for 3773d0e
View code at this point
Browse repository at this point
Commits on Jan 4, 2020
astyle formatting
Show description for 4f1e8bc
danmar
committed
4f1e8bc
View commit details
Copy full SHA for 4f1e8bc
View code at this point
Browse repository at this point
Fix #8938: FP identicalInnerCondition (#2471)
Ken-Patrick
authored and
danmar
committed
a9d423e
View commit details
Copy full SHA for a9d423e
View code at this point
Browse repository at this point
Commits on Jan 3, 2020
Fix false positives in knownConditionTrueFalse when using expressions with const variables (#2469)
pfultz2
authored and
danmar
committed
dd05839
View commit details
Copy full SHA for dd05839
View code at this point
Browse repository at this point
Commits on Nov 16, 2019
Fixed #9285 (Misleading warning message)
danmar
committed
7cd7aff
View commit details
Copy full SHA for 7cd7aff
View code at this point
Browse repository at this point
Commits on Oct 31, 2019
Fixed #9363 (knownConditionTrueFalse: False positive about function parameter)
ew-dm
committed
9094ff0
View commit details
Copy full SHA for 9094ff0
View code at this point
Browse repository at this point
Commits on Sep 23, 2019
Fix issue 9351: false negative: (style) Condition '...' is always true (#2201)
pfultz2
authored and
danmar
committed
a903aa7
View commit details
Copy full SHA for a903aa7
View code at this point
Browse repository at this point
Commits on Sep 20, 2019
Add impossible values to ValueFlow (#2186)
Show description for ad8abdb
pfultz2
authored and
danmar
committed
ad8abdb
View commit details
Copy full SHA for ad8abdb
View code at this point
Browse repository at this point
Commits on Aug 16, 2019
Fix issue 9277: FP: Dont warn for knwon conditions in if constexpr (#2085)
pfultz2
authored and
danmar
committed
3e0d114
View commit details
Copy full SHA for 3e0d114
View code at this point
Browse repository at this point
Commits on Jul 16, 2019
Replace 'unsigned' with 'nonneg' in checkcondition
danmar
committed
5dc4f44
View commit details
Copy full SHA for 5dc4f44
View code at this point
Browse repository at this point
Commits on Jun 30, 2019
Fixed #7464 (warn about opposite if and else-if conditions)
danmar
committed
0eedcfc
View commit details
Copy full SHA for 0eedcfc
View code at this point
Browse repository at this point
Commits on Jun 22, 2019
Revert "Fixed #8938 (FP identicalInnerCondition)"
Show description for 175070c
danmar
committed
175070c
View commit details
Copy full SHA for 175070c
View code at this point
Browse repository at this point
Commits on Apr 26, 2019
Fix issue 9103: False positive duplicateConditionAssign (#1808)
Show description for c4325bb
pfultz2
authored and
danmar
committed
c4325bb
View commit details
Copy full SHA for c4325bb
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.