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 | 3b754452ebedf306e16ad736041e66c92b2cc19f (patch) | |
| tree | 3b29eea0879145c3135e4033e83861c63fee2ebe | |
| parent | 801c5c74677fa615bbe5c18576f38499c8d3f82c (diff) | |
| download | bcm5719-llvm-3b754452ebedf306e16ad736041e66c92b2cc19f.tar.gz bcm5719-llvm-3b754452ebedf306e16ad736041e66c92b2cc19f.zip | |
Initialize CurMethodDecl to 0.
llvm-svn: 44463
| -rw-r--r-- | clang/Sema/Sema.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/clang/Sema/Sema.cpp b/clang/Sema/Sema.cpp index 6b799e0c74f..7bafd7db883 100644 --- a/clang/Sema/Sema.cpp +++ b/clang/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.   | 

