forked from qt-creator/qt-creator
Clang: Remove left-over logging category
Change-Id: I6724d045e6d404f518d579bd10abdea47b8fa697 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -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;
|
|||||||
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:
|
|||||||
|
|
||||||
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 @@
|
|||||||
|
|
||||||
#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,
|
||||||
|
|||||||
Reference in New Issue
Block a user