This patch adds support for printing diagnostic pragmas to the preprocessed 
output. Previously they would be discarded 
(http://llvm.org/bugs/show_bug.cgi?id=5952).

Please let me know if this patch looks OK. Note diagnostic pragmas in the clang 
and GCC pragma namespaces will both be printed as "#pragma GCC diagnostic ...". 
I assumed this wouldn't matter as they should have the same behaviour.
 
Thanks,

Richard

Attachment: pragma_diagnostic.patch
Description: pragma_diagnostic.patch

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to