XDeme wrote: I have updated the comment a little, because there is some case we can't handle: ```cpp template<typename T> struct Goo<T> F() {} ``` we can't distinguish if this is a class or function. We could check if F() is macro by checking if it is all uppercase, to identify a macro, but I am not sure if this is good.
https://github.com/llvm/llvm-project/pull/77013 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits