[PM/AA] Don't bother forward declaring Function and Value, just include
authorChandler Carruth <chandlerc@gmail.com>
Fri, 14 Aug 2015 03:55:36 +0000 (03:55 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 14 Aug 2015 03:55:36 +0000 (03:55 +0000)
their headers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245023 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp

index e7d0540..d34badd 100644 (file)
 
 #include "ObjCARC.h"
 #include "ObjCARCAliasAnalysis.h"
 
 #include "ObjCARC.h"
 #include "ObjCARCAliasAnalysis.h"
+#include "llvm/IR/Function.h"
 #include "llvm/IR/Instruction.h"
 #include "llvm/IR/Instruction.h"
+#include "llvm/IR/Value.h"
 #include "llvm/InitializePasses.h"
 #include "llvm/PassAnalysisSupport.h"
 #include "llvm/PassSupport.h"
 
 #define DEBUG_TYPE "objc-arc-aa"
 
 #include "llvm/InitializePasses.h"
 #include "llvm/PassAnalysisSupport.h"
 #include "llvm/PassSupport.h"
 
 #define DEBUG_TYPE "objc-arc-aa"
 
-namespace llvm {
-  class Function;
-  class Value;
-}
-
 using namespace llvm;
 using namespace llvm::objcarc;
 
 using namespace llvm;
 using namespace llvm::objcarc;