Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Check whether variable is used readonly

Hi Simon,

You can look at
org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVariableReadWriteFlags
and CVariableReadWriteFlags. They have some limitation but it might be
good enough for what you are trying to do.

Marc-Andre

On 14-01-26 05:38 AM, Simon Taddiken wrote:
> Hi all,
>
> is there a simple way to check whether a local variable is being used
> read only or do I have to figure this out on my own?
>



Back to the top