summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/Statistic.h
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-05-27 12:41:24 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-05-27 12:41:24 +0000
commit8e1cddc11dd8be5855a43e31d8db20b00c54ee03 (patch)
treeec1ad735cce72ea37483f9a56d18a9c28bba6dd8 /include/llvm/ADT/Statistic.h
parent43e2a035309f4e353a8bd5547d10125414597e74 (diff)
downloadllvm-8e1cddc11dd8be5855a43e31d8db20b00c54ee03.tar.gz
llvm-8e1cddc11dd8be5855a43e31d8db20b00c54ee03.tar.bz2
llvm-8e1cddc11dd8be5855a43e31d8db20b00c54ee03.tar.xz
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
Diffstat (limited to 'include/llvm/ADT/Statistic.h')
-rw-r--r--include/llvm/ADT/Statistic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/Statistic.h b/include/llvm/ADT/Statistic.h
index 6610198df1..6cdcf9f382 100644
--- 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