Use a consistent style. NFC

llvm-svn: 301601
This commit is contained in:
George Burgess IV 2017-04-27 23:59:45 +00:00
parent 981ade7909
commit 064b7fecac
1 changed files with 3 additions and 4 deletions

View File

@ -6431,14 +6431,13 @@ static QualType checkConditionalPointerCompatibility(Sema &S, ExprResult &LHS,
return S.Context
.getQualifiedType(CompositeTy.getUnqualifiedType(), CompositeQuals)
.withCVRQualifiers(MergedCVRQual);
} else
return CompositeTy.withCVRQualifiers(MergedCVRQual);
}
return CompositeTy.withCVRQualifiers(MergedCVRQual);
}();
if (IsBlockPointer)
ResultTy = S.Context.getBlockPointerType(ResultTy);
else {
else
ResultTy = S.Context.getPointerType(ResultTy);
}
LHS = S.ImpCastExprToType(LHS.get(), ResultTy, LHSCastKind);
RHS = S.ImpCastExprToType(RHS.get(), ResultTy, RHSCastKind);