forked from qt-creator/qt-creator
CPlusPlus: Inline more simple Type related functions
Change-Id: I2103e8047b385b438e58072e8a2689f1889d2724 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -58,7 +58,7 @@ Utils::CodeModelIcon::Type iconTypeForSymbol(const Symbol *symbol)
|
||||
|
||||
FullySpecifiedType symbolType = symbol->type();
|
||||
if (symbol->asFunction() || (symbol->asDeclaration() && symbolType &&
|
||||
symbolType->isFunctionType()))
|
||||
symbolType->asFunctionType()))
|
||||
{
|
||||
const Function *function = symbol->asFunction();
|
||||
if (!function)
|
||||
|
||||
Reference in New Issue
Block a user