diff options
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.h b/sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.h new file mode 100644 index 000000000..7aac8a575 --- /dev/null +++ b/sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.h @@ -0,0 +1,26 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +#ifndef CLANGDEBUGUTILS_H +#define CLANGDEBUGUTILS_H + +#include <QtCore/qtclasshelpermacros.h> + +#include <clang-c/Index.h> + +#include <string_view> + +QT_FORWARD_DECLARE_CLASS(QDebug) +QT_FORWARD_DECLARE_CLASS(QString) + +#ifndef QT_NO_DEBUG_STREAM +QDebug operator<<(QDebug s, const CXString &cs); +QDebug operator<<(QDebug s, CXCursorKind cursorKind); +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 |