mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Added a missing isStatic check
Change-Id: I7d66802dbd9141328c555141e97fde1083c1e0e1
This commit is contained in:
parent
6fbe7991c2
commit
d8ee90b27b
1 changed files with 1 additions and 1 deletions
|
@ -919,7 +919,7 @@ public class SemanticUtil {
|
|||
|
||||
public static IType[] getParameterTypesIncludingImplicitThis(ICPPFunction function) {
|
||||
IType[] result = function.getType().getParameterTypes();
|
||||
if (function instanceof ICPPMethod) {
|
||||
if (function instanceof ICPPMethod && !function.isStatic()) {
|
||||
result = addImplicitParameterType(result, (ICPPMethod) function);
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Reference in a new issue