r188473 - Fixes a gross conditional in my last patch.
Fariborz Jahanian
fjahanian at apple.com
Thu Aug 15 11:58:00 PDT 2013
Author: fjahanian
Date: Thu Aug 15 13:58:00 2013
New Revision: 188473
URL: http://llvm.org/viewvc/llvm-project?rev=188473&view=rev
Log:
Fixes a gross conditional in my last patch.
- This line, and those below, will be ignored--
M lib/ARCMigrate/ObjCMT.cpp
Modified:
cfe/trunk/lib/ARCMigrate/ObjCMT.cpp
Modified: cfe/trunk/lib/ARCMigrate/ObjCMT.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ARCMigrate/ObjCMT.cpp?rev=188473&r1=188472&r2=188473&view=diff
==============================================================================
--- cfe/trunk/lib/ARCMigrate/ObjCMT.cpp (original)
+++ cfe/trunk/lib/ARCMigrate/ObjCMT.cpp Thu Aug 15 13:58:00 2013
@@ -515,7 +515,7 @@ static bool UseNSOptionsMacro(ASTContext
MaxPowerOfTwoVal = EnumVal;
}
}
- return PowerOfTwo ? ((MaxPowerOfTwoVal > 2) ? true : false) : false;
+ return PowerOfTwo && (MaxPowerOfTwoVal > 2);
}
void ObjCMigrateASTConsumer::migrateProtocolConformance(ASTContext &Ctx,
More information about the cfe-commits
mailing list