Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ swap
Function
swap
lib/valueptr.h:79–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
}
78
79
void swap(ValuePtr& rhs) noexcept {
80
using std::swap;
81
swap(mPtr, rhs.mPtr);
82
swap(mClone, rhs.mClone);
83
}
84
85
ValuePtr<T>& operator=(ValuePtr rhs) & {
86
swap(rhs);
Callers
15
setParentExprId
Function · 0.70
setConditionalValues
Function · 0.70
valueFlowAfterSwap
Function · 0.70
getContextAndValues
Method · 0.70
afterCondition
Method · 0.70
getContainerSizeFromConstructorArgs
Function · 0.70
comparison
Method · 0.70
isOverlappingCond
Method · 0.70
valueptr.h
File · 0.70
swapWithNext
Method · 0.70
traverseRecursive
Function · 0.70
checkSuspiciousStringCompare
Method · 0.70
Calls
no outgoing calls
Tested by
1
str
Method · 0.40