From dac58ad983c62b49629e1f2969f4e0a621167d63 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 22 Jan 2006 23:32:06 +0000 Subject: [PATCH] Make iostream #inclusion explicit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25514 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/ArgumentPromotion.cpp | 1 + lib/Transforms/IPO/DeadArgumentElimination.cpp | 1 + lib/Transforms/IPO/FunctionResolution.cpp | 1 + lib/Transforms/IPO/GlobalOpt.cpp | 3 ++- lib/Transforms/IPO/Inliner.cpp | 1 + lib/Transforms/IPO/Internalize.cpp | 1 + lib/Transforms/LevelRaise.cpp | 1 + lib/Transforms/Scalar/ADCE.cpp | 1 + lib/Transforms/Scalar/CorrelatedExprs.cpp | 1 + lib/Transforms/Scalar/InstructionCombining.cpp | 1 + lib/Transforms/Scalar/LICM.cpp | 1 + lib/Transforms/Scalar/LoopStrengthReduce.cpp | 1 + lib/Transforms/Scalar/LoopUnroll.cpp | 2 +- lib/Transforms/Scalar/LoopUnswitch.cpp | 1 + lib/Transforms/Scalar/Reassociate.cpp | 1 + lib/Transforms/Scalar/SCCP.cpp | 1 + lib/Transforms/Scalar/ScalarReplAggregates.cpp | 1 + lib/Transforms/Scalar/TailDuplication.cpp | 1 + lib/Transforms/Utils/LowerSwitch.cpp | 1 + 19 files changed, 20 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/IPO/ArgumentPromotion.cpp b/lib/Transforms/IPO/ArgumentPromotion.cpp index 59232ed2bce..960e36ba54c 100644 --- a/lib/Transforms/IPO/ArgumentPromotion.cpp +++ b/lib/Transforms/IPO/ArgumentPromotion.cpp @@ -44,6 +44,7 @@ #include "llvm/ADT/DepthFirstIterator.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringExtras.h" +#include #include using namespace llvm; diff --git a/lib/Transforms/IPO/DeadArgumentElimination.cpp b/lib/Transforms/IPO/DeadArgumentElimination.cpp index 10f2a374294..37fb46d8ab3 100644 --- a/lib/Transforms/IPO/DeadArgumentElimination.cpp +++ b/lib/Transforms/IPO/DeadArgumentElimination.cpp @@ -28,6 +28,7 @@ #include "llvm/Support/Debug.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/iterator" +#include #include using namespace llvm; diff --git a/lib/Transforms/IPO/FunctionResolution.cpp b/lib/Transforms/IPO/FunctionResolution.cpp index ff1a3027120..d8b1a862eab 100644 --- a/lib/Transforms/IPO/FunctionResolution.cpp +++ b/lib/Transforms/IPO/FunctionResolution.cpp @@ -29,6 +29,7 @@ #include "llvm/Assembly/Writer.h" #include "llvm/ADT/Statistic.h" #include +#include using namespace llvm; namespace { diff --git a/lib/Transforms/IPO/GlobalOpt.cpp b/lib/Transforms/IPO/GlobalOpt.cpp index c9c8835e190..7c212e7b7a3 100644 --- a/lib/Transforms/IPO/GlobalOpt.cpp +++ b/lib/Transforms/IPO/GlobalOpt.cpp @@ -27,8 +27,9 @@ #include "llvm/Transforms/Utils/Local.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringExtras.h" -#include #include +#include +#include using namespace llvm; namespace { diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp index 2ee84276e76..65cc47db403 100644 --- a/lib/Transforms/IPO/Inliner.cpp +++ b/lib/Transforms/IPO/Inliner.cpp @@ -22,6 +22,7 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/ADT/Statistic.h" +#include #include using namespace llvm; diff --git a/lib/Transforms/IPO/Internalize.cpp b/lib/Transforms/IPO/Internalize.cpp index 861b79a4e0f..2f2f06b43b5 100644 --- a/lib/Transforms/IPO/Internalize.cpp +++ b/lib/Transforms/IPO/Internalize.cpp @@ -20,6 +20,7 @@ #include "llvm/Support/Debug.h" #include "llvm/ADT/Statistic.h" #include +#include #include using namespace llvm; diff --git a/lib/Transforms/LevelRaise.cpp b/lib/Transforms/LevelRaise.cpp index d36046811cb..943000c9661 100644 --- a/lib/Transforms/LevelRaise.cpp +++ b/lib/Transforms/LevelRaise.cpp @@ -24,6 +24,7 @@ #include "llvm/ADT/Statistic.h" #include "llvm/ADT/STLExtras.h" #include +#include using namespace llvm; // StartInst - This enables the -raise-start-inst=foo option to cause the level diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index 488f494b4b4..4452b4061ce 100644 --- a/lib/Transforms/Scalar/ADCE.cpp +++ b/lib/Transforms/Scalar/ADCE.cpp @@ -27,6 +27,7 @@ #include "llvm/ADT/Statistic.h" #include "llvm/ADT/STLExtras.h" #include +#include using namespace llvm; static IncludeFile X((void*)createUnifyFunctionExitNodesPass); diff --git a/lib/Transforms/Scalar/CorrelatedExprs.cpp b/lib/Transforms/Scalar/CorrelatedExprs.cpp index 995fde3c3e4..d00614b5d3d 100644 --- a/lib/Transforms/Scalar/CorrelatedExprs.cpp +++ b/lib/Transforms/Scalar/CorrelatedExprs.cpp @@ -42,6 +42,7 @@ #include "llvm/ADT/PostOrderIterator.h" #include "llvm/ADT/Statistic.h" #include +#include using namespace llvm; namespace { diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index f440e475e0b..716f844ef99 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -52,6 +52,7 @@ #include "llvm/ADT/Statistic.h" #include "llvm/ADT/STLExtras.h" #include +#include using namespace llvm; using namespace llvm::PatternMatch; diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index e9a853034a8..dd66dcaf8a8 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -47,6 +47,7 @@ #include "llvm/Support/Debug.h" #include "llvm/ADT/Statistic.h" #include +#include using namespace llvm; namespace { diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index ebd2bf055bc..9c1b2343a28 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -32,6 +32,7 @@ #include "llvm/ADT/Statistic.h" #include "llvm/Support/Debug.h" #include +#include #include using namespace llvm; diff --git a/lib/Transforms/Scalar/LoopUnroll.cpp b/lib/Transforms/Scalar/LoopUnroll.cpp index 75df8bb7281..a9dba4bb5ef 100644 --- a/lib/Transforms/Scalar/LoopUnroll.cpp +++ b/lib/Transforms/Scalar/LoopUnroll.cpp @@ -32,7 +32,7 @@ #include #include #include - +#include using namespace llvm; namespace { diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp index e51e7f2e204..66e386e5a62 100644 --- a/lib/Transforms/Scalar/LoopUnswitch.cpp +++ b/lib/Transforms/Scalar/LoopUnswitch.cpp @@ -38,6 +38,7 @@ #include "llvm/Support/Debug.h" #include "llvm/ADT/Statistic.h" #include +#include using namespace llvm; namespace { diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index 142ede38e1c..41faae74962 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -33,6 +33,7 @@ #include "llvm/ADT/PostOrderIterator.h" #include "llvm/ADT/Statistic.h" #include +#include using namespace llvm; namespace { diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp index 9e98248cf8e..3972282a01c 100644 --- a/lib/Transforms/Scalar/SCCP.cpp +++ b/lib/Transforms/Scalar/SCCP.cpp @@ -36,6 +36,7 @@ #include "llvm/ADT/Statistic.h" #include "llvm/ADT/STLExtras.h" #include +#include #include using namespace llvm; diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 1eff10b7b7a..be82c38c4a2 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp @@ -33,6 +33,7 @@ #include "llvm/Support/Debug.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringExtras.h" +#include using namespace llvm; namespace { diff --git a/lib/Transforms/Scalar/TailDuplication.cpp b/lib/Transforms/Scalar/TailDuplication.cpp index f78ce91d6ee..0bd59265394 100644 --- a/lib/Transforms/Scalar/TailDuplication.cpp +++ b/lib/Transforms/Scalar/TailDuplication.cpp @@ -30,6 +30,7 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/ADT/Statistic.h" +#include using namespace llvm; namespace { diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp index 0ba37c275bb..a6b3f28795b 100644 --- a/lib/Transforms/Utils/LowerSwitch.cpp +++ b/lib/Transforms/Utils/LowerSwitch.cpp @@ -21,6 +21,7 @@ #include "llvm/Support/Debug.h" #include "llvm/ADT/Statistic.h" #include +#include using namespace llvm; namespace {