diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2008-12-16 22:59:47 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2008-12-16 22:59:47 +0000 |
commit | 6b6609f875cc4baa97a7c7db31b86da88706dcc9 (patch) | |
tree | e43da0d085e069744e6e6c12d9272a7b36a4cbea | |
parent | 6fea8d2e42a53a1c03e2e1ced68dda8a36e09153 (diff) |
remove debug stmt, sorry..
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61112 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<FunctionDecl>(dcl)) {// allow function designators // FIXME: emit more specific diag... |