]> granicus.if.org Git - clang/commitdiff
Initialize the ASTMutationListener. Thanks goes to Abramo Bagnara!
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 28 Oct 2010 09:29:35 +0000 (09:29 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 28 Oct 2010 09:29:35 +0000 (09:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117541 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTContext.cpp

index 23e07afcce3e6713bd93389ff424d25a75c1799c..99023eeb7aadb23981ad6b187e2068ccbf0dc9ed 100644 (file)
@@ -166,7 +166,7 @@ ASTContext::ASTContext(const LangOptions& LOpts, SourceManager &SM,
   Idents(idents), Selectors(sels),
   BuiltinInfo(builtins),
   DeclarationNames(*this),
-  ExternalSource(0), PrintingPolicy(LOpts),
+  ExternalSource(0), Listener(0), PrintingPolicy(LOpts),
   LastSDM(0, 0),
   UniqueBlockByRefTypeID(0), UniqueBlockParmTypeID(0) {
   ObjCIdRedefinitionType = QualType();