forked from qt-creator/qt-creator
CppEditor: Fix null pointer access
Task-number: QTCREATORBUG-17253 Change-Id: Ide3d15508a2e310c307fef68457848e869c4d2de Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -4817,7 +4817,7 @@ void MoveFuncDefOutside::match(const CppQuickFixInterface &interface, QuickFixOp
|
||||
}
|
||||
}
|
||||
|
||||
if (!funcAST)
|
||||
if (!funcAST || !funcAST->symbol)
|
||||
return;
|
||||
|
||||
bool isHeaderFile = false;
|
||||
|
Reference in New Issue
Block a user