projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43e2a03
)
Use an explicit llvm:: prefix in the STATISTIC macro, so STATISTIC can still be
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 27 May 2008 12:41:24 +0000
(12:41 +0000)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 27 May 2008 12:41:24 +0000
(12:41 +0000)
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
include/llvm/ADT/Statistic.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/Statistic.h
b/include/llvm/ADT/Statistic.h
index 6610198df106904018022e2dbbc3a5f661fbef3d..6cdcf9f382e72d61ca35e0ec41cc50ea657d6a3a 100644
(file)
--- a/
include/llvm/ADT/Statistic.h
+++ b/
include/llvm/ADT/Statistic.h
@@
-68,7
+68,7
@@
protected:
// STATISTIC - A macro to make definition of statistics really simple. This
// automatically passes the DEBUG_TYPE of the file into the statistic.
#define STATISTIC(VARNAME, DESC) \
- static Statistic VARNAME = { DEBUG_TYPE, DESC, 0, 0 }
+ static
llvm::
Statistic VARNAME = { DEBUG_TYPE, DESC, 0, 0 }
} // End llvm namespace