Make sure to initialize ASTUnit::UnsafeToFree

llvm-svn: 111490
This commit is contained in:
Douglas Gregor 2010-08-19 00:45:44 +00:00
parent 0d274a0258
commit 4740c4501e
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ ASTUnit::ASTUnit(bool _MainFileIsAST)
PreambleRebuildCounter(0), SavedMainFileBuffer(0),
ShouldCacheCodeCompletionResults(false),
NumTopLevelDeclsAtLastCompletionCache(0),
CacheCodeCompletionCoolDown(0) {
CacheCodeCompletionCoolDown(0),
UnsafeToFree(false) {
}
ASTUnit::~ASTUnit() {