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