[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] Discouraged Access
|
On the other hand it's kind of random, which declarations
are cached, as a declaration is added to the binding only after the name of the
declaration has been resolved. To get them
all you have to walk the AST.
Markus.
Considering performance, this
method does a walk on ast. were as ICPPInternalBinding function has them
cached as member fields.
-
Janees
"Schorn, Markus"
<Markus.Schorn@xxxxxxxxxxxxx> Sent by: cdt-dev-bounces@xxxxxxxxxxx
03-05-07 01:12 PM
Please respond
to "CDT General developers list."
<cdt-dev@xxxxxxxxxxx> |
|
To
| "CDT General developers list."
<cdt-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [cdt-dev] Discouraged
Access |
|
There is a public way to do this:
IBinding
binding;
IASTTranslationUnit
ast;
use:
ast.getDeclarationsInAST(binding), ast.getDefinitionsInAST(binding).
Markus.
From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Janees
Elamkulam
Sent: Donnerstag, 03. Mai 2007 07:42
To: CDT
General developers list.
Subject: RE: [cdt-dev] Discouraged
Access
I
would like to access the getDefinition() and getDeclarations() methods defined
by this interface.
- Janees
Doug Schaefer
<DSchaefer@xxxxxxx> Sent by:
cdt-dev-bounces@xxxxxxxxxxx
30-04-07 05:02 PM
Please respond
to "CDT General developers list."
<cdt-dev@xxxxxxxxxxx> |
|
To
| "CDT General
developers list." <cdt-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [cdt-dev] Discouraged
Access |
|
These
interfaces are internal for a reason. Can you explain why you need access to
them. Which methods do you need.
Doug Schaefer, QNX Software Systems
Eclipse CDT
Project Lead, http://cdtdoug.blogspot.com
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf
Of Janees Elamkulam
Sent: Saturday, April 28, 2007 7:19
AM
To: CDT General developers list.
Subject: RE: [cdt-dev]
Discouraged Access
My team too like to get ICInternalBinding and
ICPPInternalBinding as public interface. Converting them to ICBinding
and ICPPBinding would be nice.
- Janees
Andrew Niefer
<aniefer@xxxxxxxxxx> Sent by:
cdt-dev-bounces@xxxxxxxxxxx
27-04-07 10:50 PM
Please respond
to "CDT General developers list."
<cdt-dev@xxxxxxxxxxx> |
|
To
| "CDT General
developers list." <cdt-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [cdt-dev] Discouraged
Access |
|
There is an internal interface ICInternalBinding that has
this method. It probably shouldn't be added to IFunction as that affects
C++ classes as well. Consider changing ICInternalBinding into a public
ICBinding instead.
-Andrew
Beth Tibbitts
<tibbitts@xxxxxxxxxx> Sent by:
cdt-dev-bounces@xxxxxxxxxxx
04/27/2007 12:53 PM
Please respond
to "CDT General developers list."
<cdt-dev@xxxxxxxxxxx> |
|
To
| "CDT General
developers list." <cdt-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [cdt-dev] Discouraged
Access |
|
>Are there things missing from
IFunction?
Yes.
CFunction.getPhysicalNode() exists but
IFunction.getPhysicalNode() does
not.
...Beth
Beth
Tibbitts (859) 243-4981 (TL 545-4981)
High Productivity Tools /
Parallel Tools http://eclipse.org/ptp
IBM T.J.Watson Research
Center
Mailing Address: IBM Corp., 455 Park Place, Lexington, KY
40511
Doug Schaefer
<DSchaefer@xxxxxx
m>
To
Sent by:
"CDT General developers list."
cdt-dev-bounces@e
<cdt-dev@xxxxxxxxxxx>
clipse.org
cc
Subject
04/27/2007 11:37
RE: [cdt-dev] Discouraged Access
AM
Please respond to
"CDT General
developers list."
<cdt-dev@eclipse.
org>
Are there things missing
from IFunction? If so we should expand that. In
general, no one should be
using the internal classes, only the DOM itself.
Doug Schaefer, QNX
Software Systems
Eclipse CDT Project Lead,
http://cdtdoug.blogspot.com
> -----Original Message-----
>
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On
> Behalf Of Beth Tibbitts
> Sent: Friday, April 27, 2007 11:34
AM
> To: CDT General developers list.
> Subject: RE: [cdt-dev]
Discouraged Access
>
> How do I do static analysis without
accessing things like this?
> Do I just do it anyway and consider myself
"internally privileged" ?? :)
>
> What audience is
"internal" aimed at?
>
> ...Beth
>
> Beth Tibbitts
(859) 243-4981 (TL 545-4981)
> High Productivity Tools /
Parallel Tools http://eclipse.org/ptp
> IBM T.J.Watson Research
Center
> Mailing Address: IBM Corp., 455 Park Place, Lexington, KY
40511
>
>
>
>
Doug Schaefer
>
<DSchaefer@xxxxxx
>
m>
To
> Sent
by: "CDT General
developers list."
>
cdt-dev-bounces@e
<cdt-dev@xxxxxxxxxxx>
>
clipse.org
cc
>
>
Subject
>
04/27/2007 11:26
RE: [cdt-dev] Discouraged Access
>
AM
>
>
>
Please respond to
>
"CDT General
>
developers list."
>
<cdt-dev@eclipse.
>
org>
>
>
>
>
>
>
>
CFunction is internal, no?
>
> Doug Schaefer, QNX Software
Systems
> Eclipse CDT Project Lead,
http://cdtdoug.blogspot.com
>
>
> > -----Original
Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx
[mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On
> > Behalf Of Beth
Tibbitts
> > Sent: Friday, April 27, 2007 11:25 AM
> > To:
cdt-dev@xxxxxxxxxxx
> > Subject: [cdt-dev] Discouraged Access
>
>
> >
> > The code I appended for my previous problem
solution
> >
(http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg09602.html)
> >
exhibits what I've seen various (many, many) other places in my use of
>
CDT
> > 4.0:
> >
> > Discouraged access: The type
CFunction is not accessible due to
> > restriction
> > on
required library C:
> >
\ecl\eclipse-3.3M6cdt40M6\eclipse\plugins
> >
\org.eclipse.cdt.core_4.0.0.200703302000.jar
> >
> > Since
I'm using the CDT APIs for my analysis, why shouldn't I be using
> >
these APIs?.
> >
> > ...Beth
> >
> > Beth
Tibbitts (859) 243-4981 (TL 545-4981)
> > High
Productivity Tools / Parallel Tools http://eclipse.org/ptp
> >
IBM T.J.Watson Research Center
> > Mailing Address: IBM Corp.,
455 Park Place, Lexington, KY 40511
> >
> >
_______________________________________________
> > cdt-dev mailing
list
> > cdt-dev@xxxxxxxxxxx
> >
https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
_______________________________________________
> cdt-dev mailing
list
> cdt-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>
>
_______________________________________________
> cdt-dev mailing
list
> cdt-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev
mailing
list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev
mailing
list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev
mailing
list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev_______________________________________________
cdt-dev mailing
list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing
list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev