owenca wrote: > Just thinking out loud and maybe not for this patch but for a more general > solution, what we seem to never do is collect information about types local > to the file as we go; For example what if a first pass identified types from > declarations and function argument declarations, return types, template > arguments and added them to a structure that would have some probability that > a given identifier was actually a type.
I'm kind of skeptical because we can't even correctly annotate the declarators all the time, but someone must actually try it to find out. https://github.com/llvm/llvm-project/pull/83709 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits