aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-24 04:14:03 +0000
committerChris Lattner <sabre@nondot.org>2009-08-24 04:14:03 +0000
commit8da76367c5d6beadd520d35aef77e6d47996ea19 (patch)
tree34030b6ed3b6fa1ca1a7cd6c58b894e4c331f923
parent127dd968e0bc13075bee7925435b9fce25309d1f (diff)
downloadexternal_llvm-8da76367c5d6beadd520d35aef77e6d47996ea19.zip
external_llvm-8da76367c5d6beadd520d35aef77e6d47996ea19.tar.gz
external_llvm-8da76367c5d6beadd520d35aef77e6d47996ea19.tar.bz2
remove the last *stream> #include from a public header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79892 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Bitcode/Archive.h1
-rw-r--r--tools/llvm-ar/llvm-ar.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Bitcode/Archive.h b/include/llvm/Bitcode/Archive.h
index 13583c0..e19e4c0 100644
--- a/include/llvm/Bitcode/Archive.h
+++ b/include/llvm/Bitcode/Archive.h
@@ -22,7 +22,6 @@
#include "llvm/System/Path.h"
#include <map>
#include <set>
-#include <fstream>
namespace llvm {
class MemoryBuffer;
diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp
index 95957df..021a369 100644
--- a/tools/llvm-ar/llvm-ar.cpp
+++ b/tools/llvm-ar/llvm-ar.cpp
@@ -24,6 +24,7 @@
#include <algorithm>
#include <iomanip>
#include <memory>
+#include <fstream>
using namespace llvm;
// Option for compatibility with AIX, not used but must allow it to be present.