Simplify ArchSpec::IsFullySpecifiedTriple() (NFC)
authorAdrian Prantl <aprantl@apple.com>
Fri, 1 Apr 2022 21:15:58 +0000 (14:15 -0700)
committerAdrian Prantl <aprantl@apple.com>
Fri, 1 Apr 2022 21:16:36 +0000 (14:16 -0700)
commit942c21ed23dcba11a156cbaad4a74348dc6fdcff
treebffaecf47b0527ed723f5b576c51358a8cc7cb37
parent7c158e3e554ad7e961480f080571cafab9c5760f
Simplify ArchSpec::IsFullySpecifiedTriple() (NFC)

I found this function somewhat hard to read and removed a few entirely
redundant checks and converted it to early exits.

Differential Revision: https://reviews.llvm.org/D122912
lldb/source/Utility/ArchSpec.cpp