blob: b71267b625b0e135aaa5a6c18a54a8f29bce0fa6 (
plain)
12345678910111213141516171819202122 | // Copyright (C) 2023 The Qt Company Ltd.// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only#include"qcomparisontesthelper_p.h" QT_BEGIN_NAMESPACE namespace QTestPrivate { QByteArray formatTypeWithCRefImpl(QMetaType type,bool isConst,bool isRef,bool isRvalueRef){ QByteArray res(type.name());if(isConst) res.append(" const");if(isRef) res.append(isRvalueRef ?" &&":" &");return res;}}// namespace QTestPrivate QT_END_NAMESPACE
|