This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PLUGIN_HEADER_FILE event for tracing of header inclusions.


On Sun, 17 Nov 2013, Basile Starynkevitch wrote:

> What would be the good way to add such a plugin event to GCC 4.9?

See the cpp_callbacks structure, used to make diagnostics go through GCC's 
diagnostics machinery, for example.  I'm not clear why the existing 
callbacks (in particular the file_change one) wouldn't be enough.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]