From 66a0fecfaeb85f5c7fe49e55289ec758aadc9eff Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 4 Jan 2018 11:23:37 +0100 Subject: doc: Correct remaining qdoc warnings in QStringView MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added missing template clause to \fn commands required by clang-qdoc. Changed a few Q_QDOC macros to Q_CLANG_QDOC. Change-Id: I20e6855b13df6384b471fc2bb5de27b0e3b44d1b Reviewed-by: Topi Reiniƶ --- src/corelib/tools/qstringview.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/corelib/tools/qstringview.h') diff --git a/src/corelib/tools/qstringview.h b/src/corelib/tools/qstringview.h index 480021a165..4f7d48fe1d 100644 --- a/src/corelib/tools/qstringview.h +++ b/src/corelib/tools/qstringview.h @@ -183,7 +183,7 @@ public: Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) : QStringView(f, l - f) {} -#ifdef Q_QDOC +#ifdef Q_CLANG_QDOC template Q_DECL_CONSTEXPR QStringView(const Char (&array)[N]) Q_DECL_NOTHROW; @@ -199,7 +199,7 @@ public: : QStringView(str, str ? lengthHelperPointer(str) : 0) {} #endif -#ifdef Q_QDOC +#ifdef Q_CLANG_QDOC QStringView(const QString &str) Q_DECL_NOTHROW; QStringView(const QStringRef &str) Q_DECL_NOTHROW; #else -- cgit v1.2.3