This is an archive of the discontinued LLVM Phabricator instance.

[NFC][Support] Move `MD5` members in `InternalState`.
ClosedPublic

Authored by arames on Aug 19 2021, 10:08 AM.

Details

Summary

This prepares an update to follow other hashes.

Diff Detail

Event Timeline

arames created this revision.Aug 19 2021, 10:08 AM
arames requested review of this revision.Aug 19 2021, 10:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2021, 10:08 AM
arames updated this revision to Diff 367541.Aug 19 2021, 10:10 AM

Move [NFC] to commit message

dexonsmith accepted this revision.Aug 19 2021, 10:19 AM

LGTM, with a minor nit.

llvm/include/llvm/Support/MD5.h
89–103

I suggest leaving the location in the file these in the file above. That'll remove the diff entirely on the typedef, and make much of the diff for the members whitespace-only. Unless there's a specific reason you were moving it?

This revision is now accepted and ready to land.Aug 19 2021, 10:19 AM
arames updated this revision to Diff 367546.Aug 19 2021, 10:33 AM
arames marked an inline comment as done.

Move members back up to minimize the diff.

llvm/include/llvm/Support/MD5.h
89–103

This was to follow SHA1 and SHA256, that also have it at the end. I don't care much. Let's minimize the diff.

arames added inline comments.Aug 19 2021, 10:58 AM
llvm/include/llvm/Support/MD5.h
89–103

Actually. The next patch will need to add a MD5Result member, which needs to be declared after.
So let's move the members as part of this NFC patch.

dexonsmith added inline comments.Aug 19 2021, 11:07 AM
llvm/include/llvm/Support/MD5.h
89–103

Sure, SGTM.

arames updated this revision to Diff 367560.Aug 19 2021, 11:20 AM

Restore members at the end of the class.

arames updated this revision to Diff 367570.Aug 19 2021, 11:48 AM

Forgot to move the typedef.

arames retitled this revision from [Support] Move `MD5` members in `InternalState`. to [NFC][Support] Move `MD5` members in `InternalState`..Aug 19 2021, 11:48 AM
arames edited the summary of this revision. (Show Details)
This revision was landed with ongoing or failed builds.Aug 19 2021, 2:04 PM
This revision was automatically updated to reflect the committed changes.