[cfe-commits] [PATCH] Fix for bug#8654: clang-as-a-library's preprocessor doesn't trigger Elif, Else and Endif callbacks at the right times

Richard Smith richard at metafoo.co.uk
Mon Jan 3 04:56:58 PST 2011


Hi,

clang's PPCallbacks::Elif, ::Else and ::Endif are currently not being
called if the preprocessor is skipping tokens due to a non-matching
#if/#elif. The attached patch fixes this.

dgregor has already reviewed this patch (see bug#8654). Can someone please
commit?

Thanks,
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-8654.diff
Type: text/x-patch
Size: 2034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110103/86b67355/attachment.bin>


More information about the cfe-commits mailing list