projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a444cc2
)
BlockScopeInfo::hasPrototype was uninitialized.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 29 Jul 2009 01:59:17 +0000
(
01:59
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 29 Jul 2009 01:59:17 +0000
(
01:59
+0000)
llvm-svn: 77421
clang/lib/Sema/SemaExpr.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaExpr.cpp
b/clang/lib/Sema/SemaExpr.cpp
index
1590e22
..
473ecef
100644
(file)
--- 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;