From 7829362620d0e05055206c1fcbb0822a18f24491 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 5 Mar 2010 22:19:41 +0000 Subject: The Windows build is just too weird; there's no real cost to doing the concurrency checks for ASTUnit in all builds llvm-svn: 97840 --- clang/lib/Frontend/ASTUnit.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'clang/lib/Frontend/ASTUnit.cpp') diff --git a/clang/lib/Frontend/ASTUnit.cpp b/clang/lib/Frontend/ASTUnit.cpp index 3bf5f796c43..63cf98d3da5 100644 --- a/clang/lib/Frontend/ASTUnit.cpp +++ b/clang/lib/Frontend/ASTUnit.cpp @@ -39,9 +39,7 @@ ASTUnit::ASTUnit(bool _MainFileIsAST) : MainFileIsAST(_MainFileIsAST), ConcurrencyCheckValue(CheckUnlocked) { } ASTUnit::~ASTUnit() { -#ifdef _DEBUG ConcurrencyCheckValue = CheckLocked; -#endif for (unsigned I = 0, N = TemporaryFiles.size(); I != N; ++I) TemporaryFiles[I].eraseFromDisk(); } -- cgit v1.2.3