diff --git a/clang/lib/Frontend/ASTUnit.cpp b/clang/lib/Frontend/ASTUnit.cpp index bf7f645cf968..6ea48d878729 100644 --- a/clang/lib/Frontend/ASTUnit.cpp +++ b/clang/lib/Frontend/ASTUnit.cpp @@ -55,7 +55,8 @@ ASTUnit::ASTUnit(bool _MainFileIsAST) PreambleRebuildCounter(0), SavedMainFileBuffer(0), ShouldCacheCodeCompletionResults(false), NumTopLevelDeclsAtLastCompletionCache(0), - CacheCodeCompletionCoolDown(0) { + CacheCodeCompletionCoolDown(0), + UnsafeToFree(false) { } ASTUnit::~ASTUnit() {