Skip to content

Commit 926fe38

Browse files
Update vf_analyzers.cpp [skip ci]
1 parent 232bbf4 commit 926fe38

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/vf_analyzers.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,6 @@ struct ValueFlowAnalyzer : Analyzer {
616616
return Action::None;
617617
Action la = analyzeLifetime(lifeTok);
618618
if (la.matches()) {
619-
if (tok->isUnaryOp("*") && tok->valueType() && lifeTok->valueType() && tok->valueType()->pointer < lifeTok->valueType()->pointer)
620-
return Action::Invalid;
621619
Action a = Action::Read;
622620
if (isModified(tok).isModified())
623621
a = Action::Invalid;

0 commit comments

Comments
 (0)