forked from OSchip/llvm-project
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:
parent
444c59e270
commit
0b48e7c6bd
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue