diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-23 08:50:52 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-23 08:50:52 +0000 |
commit | 43ed267db3512823a9698f810be4e64bee227270 (patch) | |
tree | e065dd125073b29bef24b370936292415bae2b18 /include/llvm/Support/Debug.h | |
parent | d9ea85ab01fb0f2929ed50223d3758dceea8bcbd (diff) | |
download | external_llvm-43ed267db3512823a9698f810be4e64bee227270.zip external_llvm-43ed267db3512823a9698f810be4e64bee227270.tar.gz external_llvm-43ed267db3512823a9698f810be4e64bee227270.tar.bz2 |
Fix some refactos for iostream changes (in -Asserts mode).
- The world needs better C++ refactoring tools, can I get an Amen!?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Debug.h')
-rw-r--r-- | include/llvm/Support/Debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/Debug.h b/include/llvm/Support/Debug.h index fce2500..6f82ea7 100644 --- a/include/llvm/Support/Debug.h +++ b/include/llvm/Support/Debug.h @@ -32,7 +32,9 @@ namespace llvm { // is specified. This should probably not be referenced directly, instead, use // the DEBUG macro below. // +#ifndef NDEBUG extern bool DebugFlag; +#endif // isCurrentDebugType - Return true if the specified string is the debug type // specified on the command line, or if none was specified on the command line |