This is an archive of the discontinued LLVM Phabricator instance.

Revert D135076 "[Clang] Make offloading flags accept '-' and '--'"
AbandonedPublic

Authored by MaskRay on Oct 3 2022, 12:06 PM.

Details

Summary

This reverts commit 11adae50892e6e94f10ce41bc738a9823a6b3251.
There are multiple aspects this change is not appealing.

  • They conflict with JoinedOrSeparate -o. The old exception -objc-* should not be used an excuse.
  • We generally want new options to be more rigid and avoid multiple spellings.
  • If users get used to -offload-*, a misspelled -offload-* option still gets passed as -o ffloat-* without being detected.

Diff Detail

Event Timeline

MaskRay created this revision.Oct 3 2022, 12:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2022, 12:06 PM
Herald added a subscriber: StephenFan. · View Herald Transcript
MaskRay requested review of this revision.Oct 3 2022, 12:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2022, 12:06 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
MaskRay edited the summary of this revision. (Show Details)Oct 3 2022, 12:07 PM