This is an archive of the discontinued LLVM Phabricator instance.

Use more LLVM_ENABLE_ABI_BREAKING_CHECKS in Error.h
ClosedPublic

Authored by aaronpuchert on Mar 16 2020, 3:58 PM.

Details

Summary

If we don't read the flag, we don't need to set it. Then we also don't
need to filter it out to get the pointer.

This should have a (small) positive impact on code size and performance.

Diff Detail

Event Timeline

aaronpuchert created this revision.Mar 16 2020, 3:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2020, 3:58 PM
lhames accepted this revision.Apr 10 2020, 4:15 PM

LGTM. Thanks Aaron!

This revision is now accepted and ready to land.Apr 10 2020, 4:15 PM
This revision was automatically updated to reflect the committed changes.