Commit 5d1e894e authored by Nikolai Kosjar's avatar Nikolai Kosjar

Clang: Remove left-over logging category

Change-Id: I6724d045e6d404f518d579bd10abdea47b8fa697
Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
parent 0af0bd8e
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
#include <QDir> #include <QDir>
#include <QFile> #include <QFile>
#include <QLoggingCategory>
#include <QRegularExpression> #include <QRegularExpression>
#include <QStringList> #include <QStringList>
...@@ -53,8 +52,6 @@ using namespace CppTools; ...@@ -53,8 +52,6 @@ using namespace CppTools;
namespace ClangCodeModel { namespace ClangCodeModel {
namespace Utils { namespace Utils {
Q_LOGGING_CATEGORY(verboseRunLog, "qtc.clangcodemodel.verboserun")
/** /**
* @brief Creates list of message-line arguments required for correct parsing * @brief Creates list of message-line arguments required for correct parsing
* @param pPart Null if file isn't part of any project * @param pPart Null if file isn't part of any project
...@@ -94,9 +91,6 @@ public: ...@@ -94,9 +91,6 @@ public:
LibClangOptionsBuilder optionsBuilder(*projectPart.data()); LibClangOptionsBuilder optionsBuilder(*projectPart.data());
if (verboseRunLog().isDebugEnabled())
optionsBuilder.add(QLatin1String("-v"));
optionsBuilder.addLanguageOption(fileKind); optionsBuilder.addLanguageOption(fileKind);
optionsBuilder.addOptionsForLanguage(/*checkForBorlandExtensions*/ true); optionsBuilder.addOptionsForLanguage(/*checkForBorlandExtensions*/ true);
......
...@@ -33,13 +33,9 @@ ...@@ -33,13 +33,9 @@
#include <cpptools/cppprojects.h> #include <cpptools/cppprojects.h>
#include <QLoggingCategory>
namespace ClangCodeModel { namespace ClangCodeModel {
namespace Utils { namespace Utils {
Q_DECLARE_LOGGING_CATEGORY(verboseRunLog)
QStringList createClangOptions(const CppTools::ProjectPart::Ptr &pPart, QStringList createClangOptions(const CppTools::ProjectPart::Ptr &pPart,
CppTools::ProjectFile::Kind fileKind); CppTools::ProjectFile::Kind fileKind);
QStringList createClangOptions(const CppTools::ProjectPart::Ptr &pPart, QStringList createClangOptions(const CppTools::ProjectPart::Ptr &pPart,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment