diff options
author | Chris Lattner <sabre@nondot.org> | 2003-12-14 21:35:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-12-14 21:35:53 +0000 |
commit | c9499b6a20b175ecb7080e110b96ea79cc1c311e (patch) | |
tree | 86ae16685cf4c5ce4208d62ad208976369023ed6 /llvm/lib/Support/Debug.cpp | |
parent | dd978ce8c53447f16d883be6493afc894042124d (diff) | |
download | bcm5719-llvm-c9499b6a20b175ecb7080e110b96ea79cc1c311e.tar.gz bcm5719-llvm-c9499b6a20b175ecb7080e110b96ea79cc1c311e.zip |
Finegrainify namespacification
llvm-svn: 10464
Diffstat (limited to 'llvm/lib/Support/Debug.cpp')
-rw-r--r-- | llvm/lib/Support/Debug.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/llvm/lib/Support/Debug.cpp b/llvm/lib/Support/Debug.cpp index 1af23380a27..f1713429497 100644 --- a/llvm/lib/Support/Debug.cpp +++ b/llvm/lib/Support/Debug.cpp @@ -23,12 +23,11 @@ // //===----------------------------------------------------------------------===// -#include "Support/Statistic.h" +#include "Support/Debug.h" #include "Support/CommandLine.h" +using namespace llvm; -namespace llvm { - -bool DebugFlag; // DebugFlag - Exported boolean set by the -debug option +bool llvm::DebugFlag; // DebugFlag - Exported boolean set by the -debug option namespace { #ifndef NDEBUG @@ -57,12 +56,10 @@ namespace { // specified on the command line, or if none was specified on the command line // with the -debug-only=X option. // -bool isCurrentDebugType(const char *DebugType) { +bool llvm::isCurrentDebugType(const char *DebugType) { #ifndef NDEBUG return CurrentDebugType.empty() || DebugType == CurrentDebugType; #else return false; #endif } - -} // End llvm namespace |