From b35798347ea87b8b6d36155b211016a7769f01ab Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Apr 2010 17:08:50 +0000 Subject: Fix a bunch of namespace polution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101376 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Timer.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/Support/Timer.cpp') diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index 4fac0737f0..481f6ba508 100644 --- a/lib/Support/Timer.cpp +++ b/lib/Support/Timer.cpp @@ -190,6 +190,8 @@ void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { // NamedRegionTimer Implementation //===----------------------------------------------------------------------===// +namespace { + typedef StringMap Name2TimerMap; class Name2PairMap { @@ -216,6 +218,8 @@ public: } }; +} + static ManagedStatic NamedTimers; static ManagedStatic NamedGroupedTimers; -- cgit v1.2.3-18-g5258