From 7a7102d17f979918042bc040e27288d64a6bea5f Mon Sep 17 00:00:00 2001 From: Michael Gottesman Date: Tue, 29 Jan 2013 04:20:52 +0000 Subject: [PATCH] Sorted includes using utils/sort_includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173767 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/ObjCARC/DependencyAnalysis.cpp | 3 +-- lib/Transforms/ObjCARC/ObjCARCAPElim.cpp | 1 - lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp | 1 - lib/Transforms/ObjCARC/ObjCARCContract.cpp | 3 +-- lib/Transforms/ObjCARC/ObjCARCExpand.cpp | 1 - lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 9 +++------ lib/Transforms/ObjCARC/ObjCARCUtil.cpp | 1 - lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp | 2 +- 8 files changed, 6 insertions(+), 15 deletions(-) diff --git a/lib/Transforms/ObjCARC/DependencyAnalysis.cpp b/lib/Transforms/ObjCARC/DependencyAnalysis.cpp index 5640009b814..5aada9c3734 100644 --- a/lib/Transforms/ObjCARC/DependencyAnalysis.cpp +++ b/lib/Transforms/ObjCARC/DependencyAnalysis.cpp @@ -22,9 +22,8 @@ #define DEBUG_TYPE "objc-arc-dependency" #include "ObjCARC.h" -#include "ProvenanceAnalysis.h" #include "DependencyAnalysis.h" - +#include "ProvenanceAnalysis.h" #include "llvm/Support/CFG.h" using namespace llvm; diff --git a/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp b/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp index b8c51c2b03e..fe6406a0354 100644 --- a/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp @@ -30,7 +30,6 @@ #define DEBUG_TYPE "objc-arc-ap-elim" #include "ObjCARC.h" - #include "llvm/ADT/STLExtras.h" #include "llvm/IR/Constants.h" diff --git a/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp b/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp index 5d09e5a8f77..46b2de71374 100644 --- a/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp @@ -23,7 +23,6 @@ #define DEBUG_TYPE "objc-arc-aa" #include "ObjCARC.h" #include "ObjCARCAliasAnalysis.h" - #include "llvm/IR/Instruction.h" #include "llvm/InitializePasses.h" #include "llvm/PassAnalysisSupport.h" diff --git a/lib/Transforms/ObjCARC/ObjCARCContract.cpp b/lib/Transforms/ObjCARC/ObjCARCContract.cpp index 704ac920bd1..9522bd417c2 100644 --- a/lib/Transforms/ObjCARC/ObjCARCContract.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCContract.cpp @@ -25,9 +25,8 @@ #define DEBUG_TYPE "objc-arc-contract" #include "ObjCARC.h" -#include "ProvenanceAnalysis.h" #include "DependencyAnalysis.h" - +#include "ProvenanceAnalysis.h" #include "llvm/ADT/Statistic.h" #include "llvm/Analysis/Dominators.h" #include "llvm/IR/InlineAsm.h" diff --git a/lib/Transforms/ObjCARC/ObjCARCExpand.cpp b/lib/Transforms/ObjCARC/ObjCARCExpand.cpp index 633f9884842..39bf8f38735 100644 --- a/lib/Transforms/ObjCARC/ObjCARCExpand.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCExpand.cpp @@ -26,7 +26,6 @@ #define DEBUG_TYPE "objc-arc-expand" #include "ObjCARC.h" - #include "llvm/ADT/StringRef.h" #include "llvm/IR/Function.h" #include "llvm/IR/Instruction.h" diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp index 370c7f4ec30..9ccc6ee9604 100644 --- a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp @@ -30,13 +30,14 @@ #define DEBUG_TYPE "objc-arc-opts" #include "ObjCARC.h" +#include "DependencyAnalysis.h" #include "ObjCARCAliasAnalysis.h" #include "ProvenanceAnalysis.h" -#include "DependencyAnalysis.h" - #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallPtrSet.h" +#include "llvm/ADT/Statistic.h" +#include "llvm/IR/LLVMContext.h" #include "llvm/Support/CFG.h" using namespace llvm; @@ -291,10 +292,6 @@ static bool DoesObjCBlockEscape(const Value *BlockPtr) { // TODO: Delete release+retain pairs (rare). -#include "llvm/ADT/SmallPtrSet.h" -#include "llvm/ADT/Statistic.h" -#include "llvm/IR/LLVMContext.h" - STATISTIC(NumNoops, "Number of no-op objc calls eliminated"); STATISTIC(NumPartialNoops, "Number of partially no-op objc calls eliminated"); STATISTIC(NumAutoreleases,"Number of autoreleases converted to releases"); diff --git a/lib/Transforms/ObjCARC/ObjCARCUtil.cpp b/lib/Transforms/ObjCARC/ObjCARCUtil.cpp index a02e429cc49..862f9cc0d1a 100644 --- a/lib/Transforms/ObjCARC/ObjCARCUtil.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCUtil.cpp @@ -20,7 +20,6 @@ //===----------------------------------------------------------------------===// #include "ObjCARC.h" - #include "llvm/IR/Intrinsics.h" using namespace llvm; diff --git a/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp b/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp index 79a90c64282..ff38c9df802 100644 --- a/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp +++ b/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp @@ -24,8 +24,8 @@ #include "ObjCARC.h" #include "ProvenanceAnalysis.h" -#include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/STLExtras.h" +#include "llvm/ADT/SmallPtrSet.h" using namespace llvm; using namespace llvm::objcarc;