[cfe-commits] r77421 - /cfe/trunk/lib/Sema/SemaExpr.cpp

Daniel Dunbar daniel at zuster.org
Tue Jul 28 18:59:18 PDT 2009


Author: ddunbar
Date: Tue Jul 28 20:59:17 2009
New Revision: 77421

URL: http://llvm.org/viewvc/llvm-project?rev=77421&view=rev
Log:
BlockScopeInfo::hasPrototype was uninitialized.

Modified:
    cfe/trunk/lib/Sema/SemaExpr.cpp

Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=77421&r1=77420&r2=77421&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Tue Jul 28 20:59:17 2009
@@ -5357,6 +5357,7 @@
   BSI->ReturnType = QualType();
   BSI->TheScope = BlockScope;
   BSI->hasBlockDeclRefExprs = false;
+  BSI->hasPrototype = false;
   BSI->SavedFunctionNeedsScopeChecking = CurFunctionNeedsScopeChecking;
   CurFunctionNeedsScopeChecking = false;
 





More information about the cfe-commits mailing list