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 @@
#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);
......
......@@ -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,
......
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