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 the system headers and user units?

Great thanks for this cool function!

On Thu, 02 Apr 2009 18:21:18 +0400, Mike Kucera <mkucera@xxxxxxxxxx> wrote:


Take a look at
SemanticHighlightings.ExternalSDKHighlighting.isExternalSDKReference().

Mike Kucera
Software Developer
IBM Eclipse CDT Team
mkucera@xxxxxxxxxx


|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|"Andrey Tretyakov" <andrromeda@xxxxxxxxx> |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|"CDT General developers list." <cdt-dev@xxxxxxxxxxx> |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|04/02/2009 09:37 AM |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|[cdt-dev] AST: How to distinguish interfaces/macros defined in the system headers and user units? |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|





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