BlockScopeInfo::hasPrototype was uninitialized.

llvm-svn: 77421
This commit is contained in:
Daniel Dunbar
2009-07-29 01:59:17 +00:00
parent a444cc2fa8
commit b9a68612e2

View File

@@ -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;