Skip to content
Commit e28cd75a authored by gbreynoo's avatar gbreynoo
Browse files

[OptTable] Reapply Improve error message output for grouped short options

This reapplies 71d7fed3 which was
reverted by 3e2bd82f. This change
includes the fix for breaking the sanitizer bots.

As seen in https://bugs.llvm.org/show_bug.cgi?id=48880 the current
implementation for parsing grouped short options can return unclear
error messages. This change fixes the example given in the ticket in
which a flag is incorrectly given an argument. Also when parsing a
group we now keep reading past the first incorrect option and output
errors for all incorrect options in the group.

Differential Revision: https://reviews.llvm.org/D108770
parent 9e3f86e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment