forked from qt-creator/qt-creator
		
	Clang: Remove logging category qtc.clangcodemodel.clangeditordocumentprocessor
It did not provide much value. Change-Id: If6d3c65102eef1bba72c8da4870ddb11a47d4dba Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
		| @@ -44,10 +44,6 @@ | ||||
| #include <utils/qtcassert.h> | ||||
| #include <utils/QtConcurrentTools> | ||||
|  | ||||
| #include <QLoggingCategory> | ||||
|  | ||||
| static Q_LOGGING_CATEGORY(log, "qtc.clangcodemodel.clangeditordocumentprocessor") | ||||
|  | ||||
| namespace { | ||||
|  | ||||
| typedef CPlusPlus::Document::DiagnosticMessage CppToolsDiagnostic; | ||||
| @@ -59,8 +55,6 @@ QList<CppToolsDiagnostic> toCppToolsDiagnostics( | ||||
|  | ||||
|     QList<CppToolsDiagnostic> converted; | ||||
|     foreach (const ClangCodeModel::Diagnostic &d, diagnostics) { | ||||
|         qCDebug(log) << "diagnostic" << d.severityAsString() << d.location() << d.spelling(); | ||||
|  | ||||
|         if (d.location().fileName() != filePath) | ||||
|             continue; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user