diff options
author | Paul Wicking <paul.wicking@qt.io> | 2020-03-09 14:33:50 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2020-03-09 19:10:40 +0100 |
commit | cdd46a7d4ab2862aab286f82532356a89e43f262 (patch) | |
tree | 2ad704d4393625e032e703bfc2f0f05a05d6c90a | |
parent | 747c2e69673a584fac4d6c0123a19a966435eadf (diff) |
QDoc: Clean up whitespace in log messages
Change-Id: Ib7dbb54c0a2d8ea7b754edc8fb7d2175471acc38
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r-- | src/qdoc/clangcodeparser.cpp | 6 | ||||
-rw-r--r-- | src/qdoc/main.cpp | 4 | ||||
-rw-r--r-- | src/qdoc/qdocindexfiles.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp index 04fd8bd49..a0074a091 100644 --- a/src/qdoc/clangcodeparser.cpp +++ b/src/qdoc/clangcodeparser.cpp @@ -1310,7 +1310,7 @@ void ClangCodeParser::buildPCH() const QByteArray module = moduleHeader().toUtf8(); QByteArray header; QByteArray privateHeaderDir; - qCInfo(lcQdoc) << "Build & visit PCH for " << moduleHeader(); + qCDebug(lcQdoc) << "Build and visit PCH for" << moduleHeader(); // A predicate for std::find_if() to locate a path to the module's header // (e.g. QtGui/QtGui) to be used as pre-compiled header struct FindPredicate @@ -1413,7 +1413,7 @@ void ClangCodeParser::buildPCH() auto error = clang_saveTranslationUnit(tu, pchName_.constData(), clang_defaultSaveOptions(tu)); if (error) { - qCCritical(lcQdoc) << "Could not save PCH file for " << moduleHeader(); + qCCritical(lcQdoc) << "Could not save PCH file for" << moduleHeader(); pchName_.clear(); } else { // Visit the header now, as token from pre-compiled header won't be visited @@ -1421,7 +1421,7 @@ void ClangCodeParser::buildPCH() CXCursor cur = clang_getTranslationUnitCursor(tu); ClangVisitor visitor(qdb_, allHeaders_); visitor.visitChildren(cur); - qCInfo(lcQdoc) << "PCH built & visited for " << moduleHeader(); + qCDebug(lcQdoc) << "PCH built and visited for" << moduleHeader(); } clang_disposeTranslationUnit(tu); } else { diff --git a/src/qdoc/main.cpp b/src/qdoc/main.cpp index d28ef2d84..29ba75d7a 100644 --- a/src/qdoc/main.cpp +++ b/src/qdoc/main.cpp @@ -478,7 +478,7 @@ static void processQdocconfFile(const QString &fileName) add it to the big tree. */ parsed = 0; - qCInfo(lcQdoc) << "Parse source files for " << project; + qCInfo(lcQdoc) << "Parse source files for" << project; for (const auto &key : sources.keys()) { auto *codeParser = CodeParser::parserForSourceFile(key); if (codeParser) { @@ -487,7 +487,7 @@ static void processQdocconfFile(const QString &fileName) codeParser->parseSourceFile(config.location(), key); } } - qCInfo(lcQdoc) << "Source files parsed for " << project; + qCInfo(lcQdoc) << "Source files parsed for" << project; } /* Now the primary tree has been built from all the header and diff --git a/src/qdoc/qdocindexfiles.cpp b/src/qdoc/qdocindexfiles.cpp index f51526ab1..12136dd4a 100644 --- a/src/qdoc/qdocindexfiles.cpp +++ b/src/qdoc/qdocindexfiles.cpp @@ -1522,7 +1522,7 @@ void QDocIndexFiles::generateIndex(const QString &fileName, const QString &url, if (!file.open(QFile::WriteOnly | QFile::Text)) return; - qCInfo(lcQdoc) << "Writing index file: " << fileName; + qCInfo(lcQdoc) << "Writing index file:" << fileName; gen_ = g; QXmlStreamWriter writer(&file); |