mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
Bug 426784: Qt Codan checker uses wrong type
view.connect( view.engine(), SIGNAL( quit() ), ... The return type of view.engine() should be checked for the quit() signal. The implementation was actually checking the type of view. I've fixed a copy/paste error in a utility function. Change-Id: Id483015214f04951fb30e3271d43499f31614446 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/21189 Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com> Tested-by: Doug Schaefer <dschaefer@qnx.com>
This commit is contained in:
parent
d613b149a0
commit
71fa7cf819
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ public class ASTUtil {
|
|||
if (node instanceof IASTIdExpression)
|
||||
return getBaseType((IASTIdExpression) node);
|
||||
if (node instanceof IASTFunctionCallExpression)
|
||||
return getReceiverType((IASTFunctionCallExpression) node);
|
||||
return getBaseType((IASTFunctionCallExpression) node);
|
||||
if (node instanceof IASTExpression)
|
||||
return getBaseType(((IASTExpression) node).getExpressionType());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue