Finegrainify namespacification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10464 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-12-14 21:35:53 +00:00
parent b6d465f813
commit 2cdd21c2e4
18 changed files with 106 additions and 152 deletions

View File

@ -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