Lines Matching refs:iface
39 static InterfaceMethodType getInterfaceOnewayType(const Interface& iface, in getInterfaceOnewayType() argument
43 const std::vector<Method*>& methods = iface.userDefinedMethods(); in getInterfaceOnewayType()
45 return (iface.superType() != nullptr && includeParentMethods) in getInterfaceOnewayType()
46 ? getInterfaceOnewayType(*iface.superType(), true) in getInterfaceOnewayType()
63 onewayType = onewayType | getInterfaceOnewayType(*iface.superType(), true); in getInterfaceOnewayType()
67 << iface.location(); in getInterfaceOnewayType()
73 const Interface* iface = ast.getInterface(); in onewayLint() local
74 if (iface == nullptr) { in onewayLint()
79 InterfaceMethodType ifaceType = getInterfaceOnewayType(*iface, false); in onewayLint()
92 errors->push_back(Lint(WARNING, iface->location()) in onewayLint()
93 << iface->typeName() << " has both oneway and non-oneway methods. " in onewayLint()
99 InterfaceMethodType parentType = getInterfaceOnewayType(*iface->superType(), true); in onewayLint()
108 errors->push_back(Lint(WARNING, iface->location()) in onewayLint()
109 << iface->typeName() << " should only have " in onewayLint()