| [AST] Find using declaration AST node from a ICPPUsingDeclaration binding [message #783327] |
Wed, 25 January 2012 09:23  |
Yves Thrier Messages: 2 Registered: January 2012 |
Junior Member |
|
|
Hi,
I try to obtain the AST node of an using declaration from the binding of this using declaration.
namespace A
{
void foo()
{
}
namespace B
{
using A::foo;
}
}
The binding is obtained via CIndex.findBindings.
For other binding types, it was possible for me to find the related AST node using CIndex.findDeclarations. However, the using declaration binding yields the function declaration name of foo, but it was not possible to find the AST node of the using declaration. Using CIndex.findReferences instead of findDeclarations was not successful as well.
Is there a recommended way to find the AST node related to the using declaration binding?
Thanks in advance
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01802 seconds