Update class check
to avoid: ../src/checks/manuallevel/qt6-qdir-fixes.cpp:143:39: warning: object backing the pointer will be destroyed at the end of the full-expression [-Wdangling-gsl] clang::StringRef returnType = oppCallExpr->getCallReturnType(m_astContext).getAsString();