[clang-tools-extra] clangd: Extend reference search with constructor calls through forwarding (PR #169742)

via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 14 12:39:09 PST 2025


timon-ul wrote:

So I have spent **a lot** of time debugging this, I bascially went through (almost) the full parsing process and I thought I had it, [this line](https://searchfox.org/llvm/source/clang/lib/Parse/Parser.cpp#1419) returns true and thus skips the body parsing. This seemed in line with your earlier comment of "suspicious lines", I also think it is interesting that the ASTConsumer always returns `true` on `shouldSkipFunctionBody`. That being said, returning false did not fix the problem so either this is not the problem or at least another location also cuts out the body. I am still getting the hang of how the Parser works so I probably need some more debugging time to find the actual problem.

https://github.com/llvm/llvm-project/pull/169742


More information about the cfe-commits mailing list