HighCommander4 wrote: > If you use a getter in a `cpp` file and it is defined in an included `hpp` it > will not display that it is a trivial getter. This has nothing to do with > your changes and was already like this before. @HighCommander4 is this > intentional (due to limitations) or a bug?
It's a limitation due to the fact that we skip parsing the bodies of functions in the preamble (as you may recall from https://github.com/clangd/clangd/issues/716), and we need to examine the body to be able to determine if it's a trivial getter/setter. https://github.com/llvm/llvm-project/pull/182738 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
