]> granicus.if.org Git - clang/commitdiff
Fix the indentation: Nesting level does not match indentation (CID 1254863)
authorSylvestre Ledru <sylvestre@debian.org>
Mon, 17 Nov 2014 18:26:39 +0000 (18:26 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Mon, 17 Nov 2014 18:26:39 +0000 (18:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222152 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaExprObjC.cpp

index 7cb3c0ad0075f19ff0d2a65df60bf8bb817c2238..eeee352d5e7aeb76c4c5041a85cd0a9a57cb4f56 100644 (file)
@@ -2452,8 +2452,8 @@ ExprResult Sema::BuildInstanceMessage(Expr *Receiver,
         if (ObjCMethodDecl *BestMethod =
               SelectBestMethod(Sel, ArgsIn, Method->isInstanceMethod()))
           Method = BestMethod;
-          if (!AreMultipleMethodsInGlobalPool(Sel, Method->isInstanceMethod()))
-            DiagnoseUseOfDecl(Method, SelLoc);
+        if (!AreMultipleMethodsInGlobalPool(Sel, Method->isInstanceMethod()))
+          DiagnoseUseOfDecl(Method, SelLoc);
       }
     } else if (ReceiverType->isObjCClassType() ||
                ReceiverType->isObjCQualifiedClassType()) {