Silence GCC warning about && and || without explicit grouping.

llvm-svn: 110537
This commit is contained in:
Chandler Carruth 2010-08-08 05:02:51 +00:00
parent 2b1077fb1d
commit 9c524c1d53
1 changed files with 2 additions and 2 deletions

View File

@ -857,8 +857,8 @@ static bool IsVectorConversion(ASTContext &Context, QualType FromType,
// same size
if (ToType->isVectorType() && FromType->isVectorType()) {
if (Context.areCompatibleVectorTypes(FromType, ToType) ||
Context.getLangOptions().LaxVectorConversions &&
(Context.getTypeSize(FromType) == Context.getTypeSize(ToType))) {
(Context.getLangOptions().LaxVectorConversions &&
(Context.getTypeSize(FromType) == Context.getTypeSize(ToType)))) {
ICK = ICK_Vector_Conversion;
return true;
}