mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
Use an explicit llvm:: prefix in the STATISTIC macro, so STATISTIC can still be
used when "using namespace llvm" is not in effect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -68,7 +68,7 @@ protected:
|
|||||||
// STATISTIC - A macro to make definition of statistics really simple. This
|
// STATISTIC - A macro to make definition of statistics really simple. This
|
||||||
// automatically passes the DEBUG_TYPE of the file into the statistic.
|
// automatically passes the DEBUG_TYPE of the file into the statistic.
|
||||||
#define STATISTIC(VARNAME, DESC) \
|
#define STATISTIC(VARNAME, DESC) \
|
||||||
static Statistic VARNAME = { DEBUG_TYPE, DESC, 0, 0 }
|
static llvm::Statistic VARNAME = { DEBUG_TYPE, DESC, 0, 0 }
|
||||||
|
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user