[cfe-commits] [PATCH] Fix for syntax checking a header file

Aaron Ballman aaron at aaronballman.com
Mon Jul 30 17:00:22 PDT 2012


This patch addresses PR13343, where calling the driver with
-fsyntax-only on a header file was creating a PCH file and ignoring
the syntax check.  The fix was to special case a precompile action
with fsyntax-check and set it to have no output file type (instead of
a pch or pth file type).

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syntax-only.patch
Type: application/octet-stream
Size: 1611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120730/7201295a/attachment.obj>


More information about the cfe-commits mailing list