[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Getting ITranslationUnit from IASTTranslationUnit
|
We do have that requirement. Sorry, I didn't really follow this thread much till now as we've been super busy with M6 coming up.
===========================
Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto
"Schaefer, Doug" ---03/07/2011 02:12:23 PM---I was waiting for the IBM guys to respond since I thought they had a requirement to be able to run t
![]()
From: | ![]()
"Schaefer, Doug" <Doug.Schaefer@xxxxxxxxxxxxx> |
![]()
To: | ![]()
"CDT General developers list." <cdt-dev@xxxxxxxxxxx> |
![]()
Date: | ![]()
03/07/2011 02:12 PM |
![]()
Subject: | ![]()
Re: [cdt-dev] Getting ITranslationUnit from IASTTranslationUnit |
![]()
Sent by: | ![]()
cdt-dev-bounces@xxxxxxxxxxx |
I was waiting for the IBM guys to respond since I thought they had a requirement to be able to run the parser and AST outside the CDT and without the ICElement hierarchy. But since they didn’t respond, I must be mistaken.
getCElement() or getCTranslationUnit()?
Too bad we didn’t make these PlatformObjects. Then you’d just use getAdapter().
D.
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sergey Prigogin
Sent: Monday, March 07, 2011 2:05 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Getting ITranslationUnit from IASTTranslationUnit
Since nobody responded I assume that there is no good reason not to have a method in IASTTranslationUnit returning the corresponding ITranslationUnit. I'm going to add such method. Any suggestions for the name?
-sergey
On Fri, Mar 4, 2011 at 5:12 PM, Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx> wrote:
Does anybody know why IASTTranslationUnit doesn't provide a method returning the ITranslationUnit from which the AST was built? Such method would be handy in many places, for example in CodanCReconciler.reconciled method.
-sergey
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

