diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-12-03 15:04:17 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-12-08 15:42:36 +0000 |
commit | 5d1e894ef566bba9f101c396e51f7ba0e107191d (patch) | |
tree | 7cb3e463b28a3be3cc2cbe92789a3f677fa48b8b /src | |
parent | 0af0bd8e3603b547e1af4396fc5cc60ec208a3f8 (diff) | |
download | qt-creator-5d1e894ef566bba9f101c396e51f7ba0e107191d.tar.gz |
Clang: Remove left-over logging category
Change-Id: I6724d045e6d404f518d579bd10abdea47b8fa697
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/clangcodemodel/clangutils.cpp | 6 | ||||
-rw-r--r-- | src/plugins/clangcodemodel/clangutils.h | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/clangcodemodel/clangutils.cpp b/src/plugins/clangcodemodel/clangutils.cpp index a3c693b126..ca2b07c292 100644 --- a/src/plugins/clangcodemodel/clangutils.cpp +++ b/src/plugins/clangcodemodel/clangutils.cpp @@ -41,7 +41,6 @@ #include <QDir> #include <QFile> -#include <QLoggingCategory> #include <QRegularExpression> #include <QStringList> @@ -53,8 +52,6 @@ using namespace CppTools; namespace ClangCodeModel { namespace Utils { -Q_LOGGING_CATEGORY(verboseRunLog, "qtc.clangcodemodel.verboserun") - /** * @brief Creates list of message-line arguments required for correct parsing * @param pPart Null if file isn't part of any project @@ -94,9 +91,6 @@ public: LibClangOptionsBuilder optionsBuilder(*projectPart.data()); - if (verboseRunLog().isDebugEnabled()) - optionsBuilder.add(QLatin1String("-v")); - optionsBuilder.addLanguageOption(fileKind); optionsBuilder.addOptionsForLanguage(/*checkForBorlandExtensions*/ true); diff --git a/src/plugins/clangcodemodel/clangutils.h b/src/plugins/clangcodemodel/clangutils.h index 7bce88179d..97d7414f96 100644 --- a/src/plugins/clangcodemodel/clangutils.h +++ b/src/plugins/clangcodemodel/clangutils.h @@ -33,13 +33,9 @@ #include <cpptools/cppprojects.h> -#include <QLoggingCategory> - namespace ClangCodeModel { namespace Utils { -Q_DECLARE_LOGGING_CATEGORY(verboseRunLog) - QStringList createClangOptions(const CppTools::ProjectPart::Ptr &pPart, CppTools::ProjectFile::Kind fileKind); QStringList createClangOptions(const CppTools::ProjectPart::Ptr &pPart, |