================ @@ -709,6 +712,11 @@ void ODRHash::AddFunctionDecl(const FunctionDecl *Function, return; } + if (DeletedMessage) { + ID.AddString(DeletedMessage->getBytes()); + return; + } + ---------------- cor3ntin wrote:
I would move that after `AddBoolean(DeletedMessage);` - it make no sense to separate the delete specifier from its message. (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) 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