diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-16 21:48:23 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-16 21:48:23 +0000 |
commit | d3cb28bef1e1d397b35126029465f2b7e8e8dc1f (patch) | |
tree | c7c9668612287625612fcf568d2d83e1f0225245 /include/clang/Frontend/ASTUnit.h | |
parent | 759a4b40cab9dd04683a548f998ebe2e443ca6b4 (diff) |
Guard private fields that are unused in Release builds with #ifndef NDEBUG.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/ASTUnit.h')
-rw-r--r-- | include/clang/Frontend/ASTUnit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Frontend/ASTUnit.h b/include/clang/Frontend/ASTUnit.h index 041eabb5b9..c22a18bd1c 100644 --- a/include/clang/Frontend/ASTUnit.h +++ b/include/clang/Frontend/ASTUnit.h @@ -396,7 +396,9 @@ private: /// just about any usage. /// Becomes a noop in release mode; only useful for debug mode checking. class ConcurrencyState { +#ifndef NDEBUG void *Mutex; // a llvm::sys::MutexImpl in debug; +#endif public: ConcurrencyState(); |