From f11ea381d6e4733020b368544dabb8b88f6da304 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 16 Mar 2016 10:23:25 +0100 Subject: Fix parsing of documentation for QByteArrayList and QStringList QListSpecialMethod is an internal class. Everything needs to be hidden from Q_QDOC otherwise while parsing with clang, we get errors. Importantly, hides it while inheriting from QList so it does not appear in the documentation Change-Id: If2ac158f35d6a367aa033cfc7e6a054c912359b9 Reviewed-by: Martin Smith --- src/corelib/tools/qlist.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/corelib/tools/qlist.h') diff --git a/src/corelib/tools/qlist.h b/src/corelib/tools/qlist.h index 5509c3adce..8149238a50 100644 --- a/src/corelib/tools/qlist.h +++ b/src/corelib/tools/qlist.h @@ -118,7 +118,10 @@ struct Q_CORE_EXPORT QListData { }; template -class QList : public QListSpecialMethods +class QList +#ifndef Q_QDOC + : public QListSpecialMethods +#endif { public: struct MemoryLayout -- cgit v1.2.3