[cfe-commits] r111490 - /cfe/trunk/lib/Frontend/ASTUnit.cpp
Douglas Gregor
dgregor at apple.com
Wed Aug 18 17:45:44 PDT 2010
Author: dgregor
Date: Wed Aug 18 19:45:44 2010
New Revision: 111490
URL: http://llvm.org/viewvc/llvm-project?rev=111490&view=rev
Log:
Make sure to initialize ASTUnit::UnsafeToFree
Modified:
cfe/trunk/lib/Frontend/ASTUnit.cpp
Modified: cfe/trunk/lib/Frontend/ASTUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/ASTUnit.cpp?rev=111490&r1=111489&r2=111490&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/ASTUnit.cpp (original)
+++ cfe/trunk/lib/Frontend/ASTUnit.cpp Wed Aug 18 19:45:44 2010
@@ -55,7 +55,8 @@
PreambleRebuildCounter(0), SavedMainFileBuffer(0),
ShouldCacheCodeCompletionResults(false),
NumTopLevelDeclsAtLastCompletionCache(0),
- CacheCodeCompletionCoolDown(0) {
+ CacheCodeCompletionCoolDown(0),
+ UnsafeToFree(false) {
}
ASTUnit::~ASTUnit() {
More information about the cfe-commits
mailing list