We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 232bbf4 commit 926fe38Copy full SHA for 926fe38
1 file changed
lib/vf_analyzers.cpp
@@ -616,8 +616,6 @@ struct ValueFlowAnalyzer : Analyzer {
616
return Action::None;
617
Action la = analyzeLifetime(lifeTok);
618
if (la.matches()) {
619
- if (tok->isUnaryOp("*") && tok->valueType() && lifeTok->valueType() && tok->valueType()->pointer < lifeTok->valueType()->pointer)
620
- return Action::Invalid;
621
Action a = Action::Read;
622
if (isModified(tok).isModified())
623
a = Action::Invalid;
0 commit comments