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?
Or am I just tired and reading this backwards?
Introduced in https://reviews.llvm.org/D61574