[PATCH] D114572: fix inverted logic for HideUnrelatedOptions?

Jameson Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 27 13:45:06 PST 2021


vtjnash added a comment.

I couldn't think of an example where you'd want to make sure all of the assigned categories were related to the command being used, instead of showing the option if at least one was related to it. Currently it hides the option as soon as any don't match, whereas it seems like you'd want to hide the option only if all categories don't match.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114572/new/

https://reviews.llvm.org/D114572



More information about the llvm-commits mailing list