]> granicus.if.org Git - clang/commitdiff
Note to self: don't leave debugging statements in the code for four hours.
authorJohn McCall <rjmccall@apple.com>
Thu, 12 Nov 2009 02:10:34 +0000 (02:10 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 12 Nov 2009 02:10:34 +0000 (02:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86931 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaExpr.cpp

index 9d6af7a1b89216151d7996b104ad748d488f485c..1288f566757962b12f0b378178552e50a99cff08 100644 (file)
@@ -6522,8 +6522,6 @@ void Sema::DiagnoseAssignmentAsCondition(Expr *E) {
           = dyn_cast<ObjCMessageExpr>(Op->getRHS()->IgnoreParenCasts())) {
       Selector Sel = ME->getSelector();
 
-      llvm::errs() << "selector is '" << Sel.getIdentifierInfoForSlot(0)->getName() << "'\n";
-
       // self = [<foo> init...]
       if (isSelfExpr(Op->getLHS())
           && Sel.getIdentifierInfoForSlot(0)->getName().startswith("init"))