...
BugZero found this defect 2 days ago.
Somewhat recently, clangd started failing to find system headers on mac, as compile_commands.json had: "-isysroot", "__BAZEL_XCODE_SDKROOT__", replacing it with the actual sdk root resolves it. It looks like it used to potentially get replaced here - https://github.com/hedronvision/bazel-compile-commands-extractor/blob/4f28899228fb3ad0126897876f147ca15026151e/refresh.template.py#L780 from a brief google search.