Changeset View
Changeset View
Standalone View
Standalone View
plugins/clang/util/clangdebug.cpp
Show All 21 Lines | |||||
22 | 22 | | |||
23 | #include "clangdebug.h" | 23 | #include "clangdebug.h" | ||
24 | 24 | | |||
25 | #include "clangtypes.h" | 25 | #include "clangtypes.h" | ||
26 | 26 | | |||
27 | #include <language/editor/documentcursor.h> | 27 | #include <language/editor/documentcursor.h> | ||
28 | #include <language/editor/documentrange.h> | 28 | #include <language/editor/documentrange.h> | ||
29 | 29 | | |||
30 | // Keep in sync with declare_qt_logging_category call | ||||
30 | const QtMsgType defaultMsgType = QtInfoMsg; | 31 | const QtMsgType defaultMsgType = QtInfoMsg; | ||
31 | Q_LOGGING_CATEGORY(KDEV_CLANG, "kdevelop.plugins.clang", defaultMsgType) | 32 | Q_LOGGING_CATEGORY(KDEV_CLANG, "kdevelop.plugins.clang", defaultMsgType) | ||
32 | 33 | | |||
33 | using namespace KDevelop; | 34 | using namespace KDevelop; | ||
34 | 35 | | |||
35 | QDebug operator<<(QDebug dbg, CXString string) | 36 | QDebug operator<<(QDebug dbg, CXString string) | ||
36 | { | 37 | { | ||
37 | dbg << ClangString(string).c_str(); | 38 | dbg << ClangString(string).c_str(); | ||
Show All 34 Lines |