This is an archive of the discontinued LLVM Phabricator instance.

[clang][cli] Unify boolean marshalling
ClosedPublic

Authored by jansvoboda11 on Dec 7 2020, 9:59 AM.

Details

Summary

Use lambdas with captures to replace the redundant infrastructure for marshalling of two boolean flags that control the same keypath.

Diff Detail

Event Timeline

jansvoboda11 created this revision.Dec 7 2020, 9:59 AM
jansvoboda11 requested review of this revision.Dec 7 2020, 9:59 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 7 2020, 9:59 AM
dexonsmith accepted this revision.Dec 7 2020, 3:46 PM

LGTM! This is a nice cleanup.

This revision is now accepted and ready to land.Dec 7 2020, 3:46 PM
This revision was landed with ongoing or failed builds.Dec 8 2020, 4:47 AM
This revision was automatically updated to reflect the committed changes.