mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10464 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user