[cfe-commits] [PATCH] Fix broken diagnostic pragmas
Argyrios Kyrtzidis
kyrtzidis at apple.com
Wed Dec 1 15:27:14 PST 2010
The attached patch fixes diagnostic pragmas to keep track of the diagnostic state changes.
This is an improved version of the earlier patch, where the main change is that macros that require 'unused' warnings
are tracked by the Preprocessor by storing their source locations. The benefit of this is that when we are
deserializing from PCH, we don't need to deserialize identifier & macros just so that we can report that they are unused,
we just warn using the SourceLocations of the set (that will be filled by the ASTReader, though ASTReader/ASTWriter changes will come in later).
Please review.
-Argiris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diag-pragma.diff
Type: application/octet-stream
Size: 48625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101201/13959ca1/attachment.obj>
More information about the cfe-commits
mailing list