From: Daniel Dunbar Date: Wed, 29 Jul 2009 01:59:17 +0000 (+0000) Subject: BlockScopeInfo::hasPrototype was uninitialized. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9a68612e2f81f24f625e5eeeb3239817e6f8e61;p=platform%2Fupstream%2Fllvm.git BlockScopeInfo::hasPrototype was uninitialized. llvm-svn: 77421 --- diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 1590e22..473ecef 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -5357,6 +5357,7 @@ void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *BlockScope) { BSI->ReturnType = QualType(); BSI->TheScope = BlockScope; BSI->hasBlockDeclRefExprs = false; + BSI->hasPrototype = false; BSI->SavedFunctionNeedsScopeChecking = CurFunctionNeedsScopeChecking; CurFunctionNeedsScopeChecking = false;