fix: crash when load c/c++ files
This commit is contained in:
parent
7593f99c58
commit
22b8ee814e
|
@ -676,6 +676,8 @@ PStatement CppParser::doFindAliasedStatement(const PStatement &statement, QSet<S
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (!result)
|
||||
return PStatement();
|
||||
if (foundSet.contains(result.get()))
|
||||
return PStatement();
|
||||
if (result->kind == StatementKind::skAlias)
|
||||
|
|
Loading…
Reference in New Issue