[llvm-commits] [llvm] r113772 - in /llvm/trunk: include/llvm/PassRegistry.h lib/VMCore/PassRegistry.cpp
Owen Anderson
resistor at mac.com
Mon Sep 13 11:47:42 PDT 2010
Author: resistor
Date: Mon Sep 13 13:47:42 2010
New Revision: 113772
URL: http://llvm.org/viewvc/llvm-project?rev=113772&view=rev
Log:
Minimize #includes in a top-level header.
Modified:
llvm/trunk/include/llvm/PassRegistry.h
llvm/trunk/lib/VMCore/PassRegistry.cpp
Modified: llvm/trunk/include/llvm/PassRegistry.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/PassRegistry.h?rev=113772&r1=113771&r2=113772&view=diff
==============================================================================
--- llvm/trunk/include/llvm/PassRegistry.h (original)
+++ llvm/trunk/include/llvm/PassRegistry.h Mon Sep 13 13:47:42 2010
@@ -17,8 +17,7 @@
#ifndef LLVM_PASSREGISTRY_H
#define LLVM_PASSREGISTRY_H
-#include "llvm/ADT/StringMap.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/ADT/StringRef.h"
namespace llvm {
Modified: llvm/trunk/lib/VMCore/PassRegistry.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/PassRegistry.cpp?rev=113772&r1=113771&r2=113772&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/PassRegistry.cpp (original)
+++ llvm/trunk/lib/VMCore/PassRegistry.cpp Mon Sep 13 13:47:42 2010
@@ -18,6 +18,7 @@
#include "llvm/Support/ManagedStatic.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
+#include "llvm/ADT/StringMap.h"
#include <vector>
using namespace llvm;
More information about the llvm-commits
mailing list