Fixes a gross conditional in my last patch.
- This line, and those below, will be ignored--
M lib/ARCMigrate/ObjCMT.cpp
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188473 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ARCMigrate/ObjCMT.cpp b/lib/ARCMigrate/ObjCMT.cpp
index 05a8139..1e050ac 100644
--- a/lib/ARCMigrate/ObjCMT.cpp
+++ b/lib/ARCMigrate/ObjCMT.cpp
@@ -515,7 +515,7 @@
MaxPowerOfTwoVal = EnumVal;
}
}
- return PowerOfTwo ? ((MaxPowerOfTwoVal > 2) ? true : false) : false;
+ return PowerOfTwo && (MaxPowerOfTwoVal > 2);
}
void ObjCMigrateASTConsumer::migrateProtocolConformance(ASTContext &Ctx,