mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 16:55:38 +02:00
Mirror of https://github.com/eclipse-cdt/cdt
![]() The QObject::connect content assistant does not work when the receiver of the function call is an implicit this. E.g., class Q : public QObject { Q_OBJECT f() { this->connect( ... ); // works connect( ... ); // does not work QObject::connect( ... ) // does not work } }; I've changed the Qt's ASTUtil.getReceiverType to navigate to the ICPPClassType through the IScope's. The previous implementation was relying on the connect function call being an IASTField I've also added a test case for this problem. Change-Id: I96c29a9a452280068bda39a63414c50008bfad37 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20399 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com> |
||
---|---|---|
build | ||
codan | ||
core | ||
cross | ||
debug | ||
doc | ||
dsf | ||
dsf-gdb | ||
jtag | ||
launch/org.eclipse.cdt.launch | ||
llvm | ||
lrparser | ||
memory | ||
p2 | ||
qt | ||
releng | ||
testsrunner | ||
upc | ||
util | ||
visualizer | ||
windows | ||
xlc | ||
.gitignore | ||
pom.xml |