mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
Bug 167311 - Removing the calls to isStatic to make Windows SDK usable.
This commit is contained in:
parent
3caff1dc71
commit
2a8fe7ad14
2 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ public class PDOMCAnnotation {
|
|||
modifiers |= (function.isAuto() ? 1 : 0) << PDOMCAnnotation.AUTO_OFFSET;
|
||||
modifiers |= (function.isExtern() ? 1 : 0) << PDOMCAnnotation.EXTERN_OFFSET;
|
||||
modifiers |= (function.isRegister() ? 1 : 0) << PDOMCAnnotation.REGISTER_OFFSET;
|
||||
modifiers |= (function.isStatic() ? 1 : 0) << PDOMCAnnotation.STATIC_OFFSET;
|
||||
// modifiers |= (function.isStatic() ? 1 : 0) << PDOMCAnnotation.STATIC_OFFSET;
|
||||
modifiers |= (function.isInline() ? 1 : 0) << PDOMCAnnotation.INLINE_OFFSET;
|
||||
modifiers |= (function.takesVarArgs() ? 1 : 0) << PDOMCAnnotation.VARARGS_OFFSET;
|
||||
}
|
||||
|
|
|
@ -188,9 +188,9 @@ public class PDOMCPPLinkage extends PDOMLinkage {
|
|||
pdomBinding = new PDOMCPPMethod(pdom, parent, (ICPPMethod)binding);
|
||||
} else if (binding instanceof ICPPFunction) {
|
||||
ICPPFunction func= (ICPPFunction) binding;
|
||||
if (!func.isStatic()) { // bug 161216
|
||||
// if (!func.isStatic()) { // bug 161216
|
||||
pdomBinding = new PDOMCPPFunction(pdom, parent, func);
|
||||
}
|
||||
// }
|
||||
} else if (binding instanceof ICPPClassType) {
|
||||
pdomBinding= new PDOMCPPClassType(pdom, parent, (ICPPClassType) binding);
|
||||
} else if (binding instanceof ICPPNamespaceAlias) {
|
||||
|
|
Loading…
Add table
Reference in a new issue