[cfe-commits] r44463 - /cfe/trunk/Sema/Sema.cpp
Anders Carlsson
andersca at mac.com
Fri Nov 30 12:01:39 PST 2007
Author: andersca
Date: Fri Nov 30 14:01:38 2007
New Revision: 44463
URL: http://llvm.org/viewvc/llvm-project?rev=44463&view=rev
Log:
Initialize CurMethodDecl to 0.
Modified:
cfe/trunk/Sema/Sema.cpp
Modified: cfe/trunk/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Sema/Sema.cpp?rev=44463&r1=44462&r2=44463&view=diff
==============================================================================
--- cfe/trunk/Sema/Sema.cpp (original)
+++ cfe/trunk/Sema/Sema.cpp Fri Nov 30 14:01:38 2007
@@ -64,7 +64,7 @@
}
Sema::Sema(Preprocessor &pp, ASTContext &ctxt)
- : PP(pp), Context(ctxt), CurFunctionDecl(0) {
+ : PP(pp), Context(ctxt), CurFunctionDecl(0), CurMethodDecl(0) {
// Get IdentifierInfo objects for known functions for which we
// do extra checking.
More information about the cfe-commits
mailing list