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