balazske wrote: The USR is used as index of unique declarations. It does not look correct to have a different USR for a weak and strong declaration of the same entity when an ODR rule applies and both can be considered as the "same" declaration. Probably an extra field in the externalDefMap file is a better solution (not much different from the current one) (the current solution is compatible with old externalDefMap files). I do not like to generate an additional file because it makes the CTU process even more complicated.
https://github.com/llvm/llvm-project/pull/204188 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
