[cfe-dev] extending Sema and integrating it...

christopher taylor christopher.paul.taylor at gmail.com
Fri Jan 21 12:54:34 PST 2011


To the list:

I was interested in extending ForStmt to support some pragma work I've
been doing in a Preprocessor Handler.

I'd like to be able to add my ForStmt extension into Sema (with an
ActOn function) but, I'm not 100% where and how to modify Sema to
support this additional AST node.

If there isn't a very straightforward mechanism for this, would
modeling how PragmaHandlers operate in the Preprocessor be a good
addition to Sema?

Any tips or recommendations would be appreciated, cheers,

-- 
ct



More information about the cfe-dev mailing list