[clang] [clang-tools-extra] [CodeCompletion] Consider header files without extension, if... (PR #166447)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 20 06:05:15 PST 2026
erichkeane wrote:
To me, this seems like a pretty error-prone heuristic, and I question the value because of that of that here? But yeah, clangd devs should comment, I would love to hear their thoughts.
> I think the most common extensionless path component in a directory named `include` will be another directory name. e.g., `include/bits/blah.h`.
Note as long as the `-I` went to the `include`, it would still find the thing in `bits` (though with `blah` not being extensionless, I think this doesn't matter).
https://github.com/llvm/llvm-project/pull/166447
More information about the cfe-commits
mailing list