[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[cdt-dev] AST: How to discover that function has "const" qualifier?
|
- From: "Andrey Tretyakov" <andrromeda@xxxxxxxxx>
- Date: Wed, 20 May 2009 17:47:00 +0400
- Delivered-to: cdt-dev@eclipse.org
- Organization: ISP RAS
- User-agent: Opera Mail/9.64 (Linux)
Hello!
For instance, in "/urs/include/c++/4.3/bits/locale_classes.h" I have
declaration:
string name() const;
and in my C++ program:
locale *l = new locale();
l->name();
And my plug-in has IBinding for "l->name()" (instanceof ICPPFunction), but
I can't discover, that this method has "const" qualifier.
I know, that Eclipse provides this information in "Outline", but I can't
use it. :(
How can I receive this information from AST?
Best regards,
Andrey.