[llvm-commits] [llvm] r42584 - in /llvm/trunk: include/llvm/PassManagers.h lib/VMCore/PassManager.cpp
Dan Gohman
djg at cray.com
Wed Oct 3 12:04:09 PDT 2007
Author: djg
Date: Wed Oct 3 14:04:09 2007
New Revision: 42584
URL: http://llvm.org/viewvc/llvm-project?rev=42584&view=rev
Log:
Fix a using namespace llvm; in a header file.
Modified:
llvm/trunk/include/llvm/PassManagers.h
llvm/trunk/lib/VMCore/PassManager.cpp
Modified: llvm/trunk/include/llvm/PassManagers.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/PassManagers.h?rev=42584&r1=42583&r2=42584&view=diff
==============================================================================
--- llvm/trunk/include/llvm/PassManagers.h (original)
+++ llvm/trunk/include/llvm/PassManagers.h Wed Oct 3 14:04:09 2007
@@ -13,7 +13,6 @@
#include "llvm/PassManager.h"
#include "llvm/ADT/SmallVector.h"
-using namespace llvm;
class llvm::PMDataManager;
class llvm::PMStack;
@@ -381,8 +380,8 @@
}
-extern void StartPassTimer(Pass *);
-extern void StopPassTimer(Pass *);
+extern void StartPassTimer(llvm::Pass *);
+extern void StopPassTimer(llvm::Pass *);
#endif
Modified: llvm/trunk/lib/VMCore/PassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/PassManager.cpp?rev=42584&r1=42583&r2=42584&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/PassManager.cpp (original)
+++ llvm/trunk/lib/VMCore/PassManager.cpp Wed Oct 3 14:04:09 2007
@@ -22,6 +22,7 @@
#include <algorithm>
#include <vector>
#include <map>
+using namespace llvm;
// See PassManagers.h for Pass Manager infrastructure overview.
More information about the llvm-commits
mailing list