mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 22:08:57 -04:00

Treat pointers passed to QObject::connectImpl() as escaping. rdar://problem/29550440 Differential Revision: https://reviews.llvm.org/D27717 llvm-svn: 289939
34 lines
810 B
C++
34 lines
810 B
C++
#pragma clang system_header
|
|
|
|
namespace QtPrivate {
|
|
struct QSlotObjectBase {};
|
|
}
|
|
|
|
namespace Qt {
|
|
enum ConnectionType {};
|
|
}
|
|
|
|
struct QMetaObject {
|
|
struct Connection {};
|
|
};
|
|
|
|
struct QObject {
|
|
static QMetaObject::Connection connectImpl(const QObject *, void **,
|
|
const QObject *, void **,
|
|
QtPrivate::QSlotObjectBase *,
|
|
Qt::ConnectionType,
|
|
const int *, const QMetaObject *);
|
|
};
|
|
|
|
struct QEvent {
|
|
enum Type { None };
|
|
QEvent(Type) {}
|
|
};
|
|
|
|
struct QCoreApplication : public QObject {
|
|
static void postEvent(QObject *receiver, QEvent *event);
|
|
static QCoreApplication *instance();
|
|
};
|
|
|
|
struct QApplication : public QCoreApplication {};
|