forked from OSchip/llvm-project
Note to self: don't leave debugging statements in the code for four hours.
llvm-svn: 86931
This commit is contained in:
parent
9f3e73b0f6
commit
495922cb6a
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue