This is an archive of the discontinued LLVM Phabricator instance.

[CommandLine] Fix cl::ConsumeAfter support with more than one positional argument
AbandonedPublic

Authored by Yi-Hong.Lyu on Apr 1 2020, 10:32 PM.

Details

Reviewers
None
Summary

Currently, cl::ConsumeAfter only works for the case that has exactly one
positional argument. Without the fix, it skip fulfilling first positional
argument and put that additional positional argument in interpreter arguments.

Address Mark and clang-tidy's comments

Diff Detail

Event Timeline

Yi-Hong.Lyu created this revision.Apr 1 2020, 10:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2020, 10:32 PM

Address Mark and clang-tidy's comments

Yi-Hong.Lyu abandoned this revision.Apr 17 2020, 2:36 AM