[all-commits] [llvm/llvm-project] 2e114e: fix inverted logic for HideUnrelatedOptions

Jameson Nash via All-commits all-commits at lists.llvm.org
Tue Nov 30 11:59:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e114e3fda4ff6492eaafab0d38033ea17fa99fc
      https://github.com/llvm/llvm-project/commit/2e114e3fda4ff6492eaafab0d38033ea17fa99fc
  Author: Jameson Nash <vtjnash at gmail.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M llvm/lib/Support/CommandLine.cpp

  Log Message:
  -----------
  fix inverted logic for HideUnrelatedOptions

It seems clearer to me that this would check for *any of* instead of
*all of* these option categories, as it looks to me like that was the
intent. But apparently this logic has always has been inverted, and
possibly never fully used?

Differential Revision: https://reviews.llvm.org/D114572




More information about the All-commits mailing list