sammccall added a comment. D156044 <https://reviews.llvm.org/D156044> attempts to have clangd always exclude the builtin headers when querying the driver. Would be great to know if this fixes your problem.
(But if you're not in a position to try a patch like that, filtering the path out in your driver wrapper is a good proxy) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154903/new/ https://reviews.llvm.org/D154903 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits