Hi All,
We have populated info in the Clang Sema i.e class Sema
(include/clang/Sema/Sema.h) and like to propagate the same to Clang
Codegen .
Currently we are propagating through ASTContext ,where we have
duplicating fields info and operation in the Sema and ASTContext .
Any better way of doing the same ?
Thank you
~Umesh
Hi All,
My bad for not been specific in question .
Do we have anyway to access the CodeGenModule instance from any Sema method ???
Thank you
~Umesh
Hi All,
What we are trying is that, we change the IdentifierInfo of the
NamedDecl instance from the Sema::HandleDeclarator and we need to
communicate changed info like "foo" changed "bar" to the IR builder
(CodeGen), any inputs /suggestions for same?
~Umesh