Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] How to find the declaring parent of an IVariable ?

Suppose I have an IBinding which is an instance of IVariable. How do I find
which entity declares it ?


- For a local variable or a formal parameter, the declaring parent is an
- For a global variable, the declaring parent is an IASTTranslationUnit
- For an IField, the declaring parent is an IASTCompositeTypeSpecifier


View this message in context:
Sent from the Eclipse CDT - Development mailing list archive at

Back to the top