diff options
Diffstat (limited to 'sources/shiboken2/ApiExtractor/clangparser/clangdebugutils.h')
-rw-r--r-- | sources/shiboken2/ApiExtractor/clangparser/clangdebugutils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/clangparser/clangdebugutils.h b/sources/shiboken2/ApiExtractor/clangparser/clangdebugutils.h index 2bbe526f7..ae3840fb4 100644 --- a/sources/shiboken2/ApiExtractor/clangparser/clangdebugutils.h +++ b/sources/shiboken2/ApiExtractor/clangparser/clangdebugutils.h @@ -33,6 +33,8 @@ #include <clang-c/Index.h> +#include <string_view> + QT_FORWARD_DECLARE_CLASS(QDebug) QT_FORWARD_DECLARE_CLASS(QString) @@ -43,6 +45,7 @@ QDebug operator<<(QDebug s, CX_CXXAccessSpecifier ac); QDebug operator<<(QDebug s, const CXType &t); QDebug operator<<(QDebug s, const CXCursor &cursor); QDebug operator<<(QDebug s, const CXSourceLocation &location); +QDebug operator<<(QDebug s, const std::string_view &v); // for code snippets #endif // !QT_NO_DEBUG_STREAM #endif // CLANGDEBUGUTILS_H |