Guard private fields that are unused in Release builds with #ifndef NDEBUG.
llvm-svn: 158609
This commit is contained in:
parent
b9f84bb0ce
commit
cc7c710fb0
|
@ -396,7 +396,9 @@ private:
|
||||||
/// just about any usage.
|
/// just about any usage.
|
||||||
/// Becomes a noop in release mode; only useful for debug mode checking.
|
/// Becomes a noop in release mode; only useful for debug mode checking.
|
||||||
class ConcurrencyState {
|
class ConcurrencyState {
|
||||||
|
#ifndef NDEBUG
|
||||||
void *Mutex; // a llvm::sys::MutexImpl in debug;
|
void *Mutex; // a llvm::sys::MutexImpl in debug;
|
||||||
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ConcurrencyState();
|
ConcurrencyState();
|
||||||
|
|
Loading…
Reference in New Issue