* Handle the SIGNAL and SLOT macro within calls to QObject::connect or the like * * Recognize calls to QObject::connect, QObject::disconnect, QTimer::singleShot */
| 36 | * Recognize calls to QObject::connect, QObject::disconnect, QTimer::singleShot |
| 37 | */ |
| 38 | struct QtSupport { |
| 39 | Annotator &annotator; |
| 40 | clang::NamedDecl *currentContext; |
| 41 | |
| 42 | void visitCallExpr(clang::CallExpr *e); |
| 43 | void visitCXXConstructExpr(clang::CXXConstructExpr* e); |
| 44 | |
| 45 | private: |
| 46 | void handleSignalOrSlot(clang::Expr *obj, clang::Expr *method); |
| 47 | void handleInvokeMethod(clang::Expr *obj, clang::Expr *method); |
| 48 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected