================
@@ -444,7 +444,7 @@ const RawComment *ASTContext::getRawCommentForAnyRedecl(
return CommentlessRedeclChains.lookup(CanonicalD);
}();
- for (const auto Redecl : D->redecls()) {
+ for (const auto Redecl : CanonicalD->redecls()) {
----------------
HighCommander4 wrote:
Thank you for the suggestion! It indeed feels safer to tweak
`getRawCommentsForAnyRedecl()` like this than to muck around with the modeling
of template specializations :laughing:
https://github.com/llvm/llvm-project/pull/108475
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits