This is an archive of the discontinued LLVM Phabricator instance.

LLD/ELF: Fix C4307: '-': integral constant overflow for MSVC15
ClosedPublic

Authored by kzhuravl on Oct 16 2017, 8:44 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

kzhuravl created this revision.Oct 16 2017, 8:44 AM
ruiu edited edge metadata.Oct 16 2017, 10:27 AM

This patch effectively reverts r315877, but it contains some formatting, so it is not a complete rollback patch. Can you re-create a patch using svn revert or git revert? Or I can do that for you.

In D38955#898745, @ruiu wrote:

This patch effectively reverts r315877, but it contains some formatting, so it is not a complete rollback patch. Can you re-create a patch using svn revert or git revert? Or I can do that for you.

Ok, I will just revert it.

kzhuravl updated this revision to Diff 119187.Oct 16 2017, 11:33 AM

Just revert.

ruiu accepted this revision.Oct 16 2017, 11:37 AM

Please change the patch subject to Revert r315877: Simplify. and write the reason (it causes MSVC 2015 to emit "C4307: '-': integral constant overflow" warning) as a commit message.

With that, LGTM.

This revision is now accepted and ready to land.Oct 16 2017, 11:37 AM
This revision was automatically updated to reflect the committed changes.