summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2007-11-30 20:01:38 +0000
committerAnders Carlsson <andersca@mac.com>2007-11-30 20:01:38 +0000
commit3b754452ebedf306e16ad736041e66c92b2cc19f (patch)
tree3b29eea0879145c3135e4033e83861c63fee2ebe
parent801c5c74677fa615bbe5c18576f38499c8d3f82c (diff)
downloadbcm5719-llvm-3b754452ebedf306e16ad736041e66c92b2cc19f.tar.gz
bcm5719-llvm-3b754452ebedf306e16ad736041e66c92b2cc19f.zip
Initialize CurMethodDecl to 0.
llvm-svn: 44463
-rw-r--r--clang/Sema/Sema.cpp2
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.
OpenPOWER on IntegriCloud