Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] ASTVisitor

Hello,

I believe you want visit(IASTDeclaration) for ICPPASTLinkageSpecification.

IIRC IASTPreprocessorIncludeStatement and the pre-processor in general is not visitable, use IASTTranslationUnit.getAllPreprocessorStatements() and/or getIncludeDirectives

Jonah


~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com
 

On Sat, 22 Feb 2020 at 03:59, Ming Cheng <chengm349@xxxxxxxxxxx> wrote:
Hi,

ASTVisitor does not provide visit(ICPPASTLinkageSpecification ) and many other CPP specific types callback interface; neither of IASTPreprocessorIncludeStatement. What's the best practice of read these lines?

Thanks.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev

Back to the top