projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
444c59e
)
Fixes a gross conditional in my last patch.
author
Fariborz Jahanian
<fjahanian@apple.com>
Thu, 15 Aug 2013 18:58:00 +0000
(18:58 +0000)
committer
Fariborz Jahanian
<fjahanian@apple.com>
Thu, 15 Aug 2013 18:58:00 +0000
(18:58 +0000)
- This line, and those below, will be ignored--
M lib/ARCMigrate/ObjCMT.cpp
llvm-svn: 188473
clang/lib/ARCMigrate/ObjCMT.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/ARCMigrate/ObjCMT.cpp
b/clang/lib/ARCMigrate/ObjCMT.cpp
index 05a81393eabfa5b81517cd21dd995702eba51850..1e050ac138ef642ac81571d8731feafcac3c2c80 100644
(file)
--- a/
clang/lib/ARCMigrate/ObjCMT.cpp
+++ b/
clang/lib/ARCMigrate/ObjCMT.cpp
@@
-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,