[PATCH] D60687: [clangd] Check file path of declaring header when deciding whether to insert include.
Eric Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 15 04:42:50 PDT 2019
ioeric created this revision.
ioeric added a reviewer: sammccall.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
Previously, we would use include spelling of the declaring header to check
whether the inserted header is the same as the main file. This doesn't help because
we only have file path of the main file.
rCTE Clang Tools Extra
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7758 bytes
Desc: not available
More information about the cfe-commits