Patch: Preprocessor::HandleIncludeDirective()

James Skerrett via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 10 11:16:52 PDT 2017


The attached patch fixes what looks like a bug in the preprocessor when
dealing with missing include files.

Currently, if unable to find a file included via an angled include, the
preprocessor will generate an error diagnostic even when a recovery path is
provided via a callback client.

The patch modifies the if-statement such that the condition expression
matches the descriptive comment above it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170710/669b23c3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170710/669b23c3/attachment.obj>


More information about the cfe-commits mailing list