mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
BlockScopeInfo::hasPrototype was uninitialized.
llvm-svn: 77421
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user