[cfe-dev] LibTooling question
Mario Schwalbe
mario at se.inf.tu-dresden.de
Thu Aug 2 08:48:09 PDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 01.08.2012 21:53, schrieb Nick Lewycky:
> Yep, I've done this. I create my own FrontendAction derived from clang::EmitLLVMOnlyAction. The replacement EndSourceFileAction() calls this->EmitLLVMOnlyAction::EndSourceFileAction(); and then takeModule() returns the llvm::Module.
Thanks for the tip. Works great now.
ciao,
Mario
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJQGqE4AAoJEDv0fP6GapNtZ5gH/3b8DO7BhrEsYMGMCCHghK4C
33E5BvqqxhGl7h9hE6AMdr6fmejYDJZBDCWuOZmuPYodOQ9QbY/CAGpI3XWKDhDI
OSoR7dJEdnI3oPZCq5TCbOGhotF1T5ccaDsZRkEeNHF61q0HPj5yqpZB6t+ErPuP
EqfA2R84VsxmihG1IZdlQLb5DZefpn0wOsIxjLo5tPw+en4/rY3TINlS9SKRpadw
/enSP+EfUKGCsPk63o02jG70E95ifw2Xi3QcCh92B6hybrJJilM5ltFG3nJME25/
+hHhR5CpQPVpfopD6R45s0q6g4hCjnObGLRBRF3kQ1gGJbLW0zOoA+4/9Fy7YDo=
=rjb6
-----END PGP SIGNATURE-----
More information about the cfe-dev
mailing list