]> granicus.if.org Git - clang/commitdiff
Fix typo (found by gcc warning).
authorEli Friedman <eli.friedman@gmail.com>
Sat, 11 Jul 2009 00:57:02 +0000 (00:57 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 11 Jul 2009 00:57:02 +0000 (00:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75325 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjCMac.cpp

index 82ab88fa82c517f7c26c7a5c616e5d04d2e5c9ad..4677e1d754d6d6cf8a67c890c8bfbdbb309c8a3c 100644 (file)
@@ -2534,7 +2534,7 @@ void CGObjCMac::EmitTryOrSynchronizedStmt(CodeGen::CodeGenFunction &CGF,
         // catch(id e) always matches. 
         // FIXME: For the time being we also match id<X>; this should
         // be rejected by Sema instead.
-        if (OPT && (OPT->isObjCIdType()) || OPT->isObjCQualifiedIdType())
+        if (OPT && (OPT->isObjCIdType() || OPT->isObjCQualifiedIdType()))
           AllMatched = true;
       }