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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to