[cfe-dev] Adding new Diagnostics to Clang ?

kalyan ponnala ponnala.kalyan at gmail.com
Sun Mar 7 13:36:57 PST 2010


Hi,

Can someone please tell me what the purpose of the following files:

   - "*.inc"
   - "*.def"
   - "*.td"

Additionally, how are these files used within the Clang infrastructure?

I am trying to dig into the Diagnostics inside Clang. I found out that
DiagnosticKinds.def file is used to add an entry for some Diagnostics.

I could not find the file's location in the Clang / LLVM
distribution. Additionally, the "DiagnosticKinds.def" file that is linked
from the Clang "InternalsManual.html" is broken.

Can anyone please tell me where to find this file or is there a new approach
to adding an entry for a new Diagnostics?

thanks,
-- 
Kalyan Ponnala
phone: 8163772059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100307/8b86ac4f/attachment.html>


More information about the cfe-dev mailing list