commit | 8249a8889dbe5ef41c3367cca2d1f541b9c47081 | [log] [tgz] |
---|---|---|
author | Don Hinton <hintonda@gmail.com> | Thu May 16 16:25:13 2019 +0000 |
committer | Don Hinton <hintonda@gmail.com> | Thu May 16 16:25:13 2019 +0000 |
tree | 9fe3d3afdc5832c486049286fe64e24b56e7acf6 | |
parent | 600ec01b7e27e4c815e1968db4a600e63491ed19 [diff] |
[CommandLine] Don't allow duplicate categories. Summary: This is a fix to D61574, r360179, that allowed duplicate OptionCategory's. This change adds a check to make sure a category can only be added once even if the user passes it twice. Reviewed By: MaskRay Tags: #llvm Differential Revision: https://reviews.llvm.org/D61972 llvm-svn: 360913