diff options
author | Anders Carlsson <andersca@mac.com> | 2007-11-30 20:01:38 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2007-11-30 20:01:38 +0000 |
commit | 6c19a04a3903a0b0897e3e6deb995bfe2809dca1 (patch) | |
tree | e615d56000b1b594220724ae0eb90b18c0a06687 | |
parent | 3907323dd6665c0c4e383435cb145233f4533406 (diff) |
Initialize CurMethodDecl to 0.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44463 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Sema/Sema.cpp | 2 |
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. |