This is an archive of the discontinued LLVM Phabricator instance.

[Lex] Allow to set missing include error to not fatal
AbandonedPublic

Authored by yvvan on Feb 8 2019, 6:47 AM.

Details

Reviewers
ilya-biryukov
nik
Summary

For IDE it's a nice feature to not get a fatal error and continue preprocessing even if the file is missing.
This allows include further files and get more relevant information about the current translation unit.

Diff Detail

Event Timeline

yvvan created this revision.Feb 8 2019, 6:47 AM

I've tested it with libclang. If something else is needed for proper clangd args forwarding - let me know.

yvvan planned changes to this revision.Feb 11 2019, 12:30 AM

It's probably not needed because I don't see a path which checked for the fatal errors in 8.0. So i will probably abandon this one or update if it does not cover the case I need.

yvvan abandoned this revision.Feb 11 2019, 2:11 AM