Skip to content

Commit 6600453

Browse files
committed
Try to make Travis happy
1 parent 258d0a6 commit 6600453

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/valueflow.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2980,6 +2980,9 @@ static bool isLifetimeBorrowed(const ValueType *vt, const ValueType *vtParent)
29802980
return true;
29812981
if (vtParent->str() == vt->str())
29822982
return true;
2983+
if (vtParent->pointer == vt->pointer && vtParent->type == vt->type && vtParent->isIntegral())
2984+
// sign conversion
2985+
return true;
29832986
}
29842987

29852988
return false;

0 commit comments

Comments
 (0)