================ @@ -709,6 +712,11 @@ void ODRHash::AddFunctionDecl(const FunctionDecl *Function, return; } + if (DeletedMessage) { + ID.AddString(DeletedMessage->getBytes()); + return; + } + ---------------- Sirraide wrote:
> (there is a question of whether isExplicitlyDefaulted/isDeletedAsWritten > should be after skip body, but that seems logical as is, and at worse it > would be pre-existing) Yeah, that’s true; considering those are already always included it makes sense to always include the message as well if it exists. https://github.com/llvm/llvm-project/pull/86526 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits