File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -696,6 +696,9 @@ void ODRHash::AddFunctionDecl(const FunctionDecl *Function,
696
696
AddBoolean (Function->isDeletedAsWritten ());
697
697
AddBoolean (Function->isExplicitlyDefaulted ());
698
698
699
+ StringLiteral *DeletedMessage = Function->getDeletedMessage ();
700
+ AddBoolean (DeletedMessage);
701
+
699
702
AddDecl (Function);
700
703
701
704
AddQualType (Function->getReturnType ());
@@ -709,6 +712,11 @@ void ODRHash::AddFunctionDecl(const FunctionDecl *Function,
709
712
return ;
710
713
}
711
714
715
+ if (DeletedMessage) {
716
+ ID.AddString (DeletedMessage->getBytes ());
717
+ return ;
718
+ }
719
+
712
720
const bool HasBody = Function->isThisDeclarationADefinition () &&
713
721
!Function->isDefaulted () && !Function->isDeleted () &&
714
722
!Function->isLateTemplateParsed ();
You can’t perform that action at this time.
0 commit comments