File indexing completed on 2024-05-12 04:39:19

0001 /*
0002     SPDX-FileCopyrightText: 2014 Kevin Funk <kfunk@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #ifndef CLANGDEBUG_H
0008 #define CLANGDEBUG_H
0009 
0010 #include <QLoggingCategory>
0011 
0012 #include <clang-c/Index.h>
0013 
0014 #include "clangprivateexport.h"
0015 
0016 extern KDEVCLANGPRIVATE_EXPORT const QLoggingCategory &KDEV_CLANG();
0017 #define clangDebug() qCDebug(KDEV_CLANG)
0018 
0019 KDEVCLANGPRIVATE_EXPORT QDebug operator<<(QDebug dbg, CXString string);
0020 KDEVCLANGPRIVATE_EXPORT QDebug operator<<(QDebug dbg, CXSourceLocation location);
0021 KDEVCLANGPRIVATE_EXPORT QDebug operator<<(QDebug dbg, CXSourceRange range);
0022 KDEVCLANGPRIVATE_EXPORT QDebug operator<<(QDebug dbg, CXCursor cursor);
0023 KDEVCLANGPRIVATE_EXPORT QDebug operator<<(QDebug dbg, CXCursorKind kind);
0024 KDEVCLANGPRIVATE_EXPORT QDebug operator<<(QDebug dbg, CXType type);
0025 KDEVCLANGPRIVATE_EXPORT QDebug operator<<(QDebug dbg, CXTypeKind typeKind);
0026 
0027 #endif // CLANGDEBUG_H