[cfe-dev] TableGen backend to generate .def warning files from .td files

Sebastian Redl sebastian.redl at getdesigned.at
Fri Mar 13 17:42:31 PDT 2009


On Fri, 13 Mar 2009 16:02:34 -0700, Ted Kremenek <kremenek at apple.com>
wrote:
> Today I added a TableGen backend to generate our current .def warning  
> files from TableGen .td files.  This is part of the effort to provide  
> fine-grained warning control for Clang.  Moving the warnings over to a  
> declarative TableGen format moves us closer to this goal.
> 
> Sebastian: Is it possible to regenerate (sync) the warnings .td files  
> with the current .def files using the technique you used before?  I'd  
> like to test the TableGen backend to make sure that we're generating  
> the same set of warning definitions.
> 
> After the backend generates equivalent (in functionality) .def files,  
> the plan is to remove the .def files from Clang and have them  
> automatically created during a build.

Excellent. Can you put the code necessary for that into the Makefiles,
commented out? I'll sync the tds over the weekend, and this way I can
easily switch over then.

Sebastian



More information about the cfe-dev mailing list