Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] AST: How to distinguish interfaces/macros defined in thesystem headers and user units?

Use IASTName.getFileLocation() to figure out where a name is located.
Markus. 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrey Tretyakov
> Sent: Thursday, April 02, 2009 3:36 PM
> To: CDT General developers list.
> Subject: [cdt-dev] AST: How to distinguish interfaces/macros 
> defined in thesystem headers and user units?
> Importance: Low
> 
> Hello!
> 
> I'm working with internal syntax analyser of CDT (AST).
> For example, I have IASTName and IBinding for selected node 
> (function, variable, macro, type, etc).
> How to determine, is it defined in the system headers 
> (<stdio.h>, <sdtlib.h>, etc) or in the user source files (.c, 
> .cpp or user headers "mylib.h")?
> 
> Best regards,
>                Andrey.
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top