Use a simpler predicate. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215218 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-08-08 16:30:17 +00:00
parent 8bbca2cf38
commit 015f57679d
4 changed files with 22 additions and 36 deletions

View File

@ -226,7 +226,7 @@ public:
static Triple::ArchType getArch(uint32_t CPUType);
static Triple getArch(uint32_t CPUType, uint32_t CPUSubType);
static Triple getArch(StringRef ArchFlag);
static bool isValidArch(StringRef ArchFlag);
static Triple getHostArch();
static bool classof(const Binary *v) {