@Override public int getAdditionalNameFlags(int standardFlags, IASTName name) { if ((standardFlags & PDOMName.IS_REFERENCE) == PDOMName.IS_REFERENCE) { return CPPVariableReadWriteFlags.getReadWriteFlags(name); } return 0; }
public static int getReadWriteFlags(IASTName variable) { return INSTANCE.rwAnyNode(variable, 0); }