Fix typo, need parens.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66337 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGBlocks.cpp b/lib/CodeGen/CGBlocks.cpp
index 9e3c451..d35fbb9 100644
--- a/lib/CodeGen/CGBlocks.cpp
+++ b/lib/CodeGen/CGBlocks.cpp
@@ -483,8 +483,8 @@
     ErrorUnsupported(E, "__block variable in block literal");
   else if (!Enable__block && E->getType()->isBlockPointerType())
     ErrorUnsupported(E, "block pointer in block literal");
-  else if (!Enable__block && E->getDecl()->getAttr<ObjCNSObjectAttr>() ||
-           getContext().isObjCNSObjectType(E->getType()))
+  else if (!Enable__block && (E->getDecl()->getAttr<ObjCNSObjectAttr>() ||
+                              getContext().isObjCNSObjectType(E->getType())))
     ErrorUnsupported(E, "__attribute__((NSObject)) variable in block "
                      "literal");
   else if (!Enable__block && getContext().isObjCObjectPointerType(E->getType()))