зеркало из https://github.com/microsoft/clang-1.git
Change (!ptr != 0) to (!ptr) to make the code more readable.
No functional change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165811 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
f4deaef8b8
Коммит
47fcbba7c8
|
@ -1022,7 +1022,7 @@ static bool ShouldTryAgainWithRedefinitionType(Sema &S, ExprResult &base) {
|
|||
// Do the substitution as long as the redefinition type isn't just a
|
||||
// possibly-qualified pointer to builtin-id or builtin-Class again.
|
||||
opty = redef->getAs<ObjCObjectPointerType>();
|
||||
if (opty && !opty->getObjectType()->getInterface() != 0)
|
||||
if (opty && !opty->getObjectType()->getInterface())
|
||||
return false;
|
||||
|
||||
base = S.ImpCastExprToType(base.take(), redef, CK_BitCast);
|
||||
|
|
Загрузка…
Ссылка в новой задаче