Fixes a gross conditional in my last patch.

- This line, and those below, will be ignored--

M    lib/ARCMigrate/ObjCMT.cpp

llvm-svn: 188473
This commit is contained in:
Fariborz Jahanian 2013-08-15 18:58:00 +00:00
parent 444c59e270
commit 0b48e7c6bd
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ static bool UseNSOptionsMacro(ASTContext &Ctx,
MaxPowerOfTwoVal = EnumVal;
}
}
return PowerOfTwo ? ((MaxPowerOfTwoVal > 2) ? true : false) : false;
return PowerOfTwo && (MaxPowerOfTwoVal > 2);
}
void ObjCMigrateASTConsumer::migrateProtocolConformance(ASTContext &Ctx,