[PATCH] D51333: Diagnose likely typos in include statements
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 13 04:12:56 PDT 2018
sammccall added a comment.
(No action needed, but curious on your thoughts)
One thing I'd like to do sometime is add code completion of filenames in #include directives.
This would mean listing the relevant directories from the include path. (VFS is slow for this today, but I have a patch out for it).
Maybe it would make sense to do that here and use edit-distance to pick the suggestion, like typo correction elsewhere?
Could be a way to extend this patch's behavior in the future.
https://reviews.llvm.org/D51333
More information about the cfe-commits
mailing list