From: Nuno Lopes Date: Tue, 16 Dec 2008 22:59:47 +0000 (+0000) Subject: remove debug stmt, sorry.. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b6609f875cc4baa97a7c7db31b86da88706dcc9;p=clang remove debug stmt, sorry.. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61112 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index cdaa2fc49c..515169c557 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -2889,7 +2889,7 @@ QualType Sema::CheckAddressOfOperand(Expr *op, SourceLocation OpLoc) { } NamedDecl *dcl = getPrimaryDecl(op); Expr::isLvalueResult lval = op->isLvalue(Context); - printf("oleee\n"); + if (lval != Expr::LV_Valid) { // C99 6.5.3.2p1 if (!dcl || !isa(dcl)) {// allow function designators // FIXME: emit more specific diag...