aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Sema/Sema.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sema/Sema.cpp b/Sema/Sema.cpp
index 6b799e0c74..7bafd7db88 100644
--- a/Sema/Sema.cpp
+++ b/Sema/Sema.cpp
@@ -64,7 +64,7 @@ QualType Sema::GetObjcProtoType(SourceLocation Loc) {
}
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.