aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/AST/Expr.h2
-rw-r--r--lib/Sema/SemaExpr.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h
index 3b9b6273b1..7ec0c74e8d 100644
--- a/include/clang/AST/Expr.h
+++ b/include/clang/AST/Expr.h
@@ -2516,7 +2516,7 @@ public:
const FunctionType *getFunctionType() const;
/// hasBlockDeclRefExprs - Return true iff the block has BlockDeclRefExpr
- /// contained inside.
+ /// inside of the block that reference values outside the block.
bool hasBlockDeclRefExprs() const { return HasBlockDeclRefExprs; }
void setHasBlockDeclRefExprs(bool BDRE) { HasBlockDeclRefExprs = BDRE; }
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index b6f1afbe41..33fefe53bc 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -1237,7 +1237,7 @@ bool Sema::CheckSizeOfAlignOfOperand(QualType exprType,
if (LangOpts.ObjCNonFragileABI) {
Diag(OpLoc, diag::err_sizeof_nonfragile_interface)
<< IIT->getDecl()->getDeclName() << isSizeof;
- return true;
+ //return false;
}
}