[llvm] r245023 - [PM/AA] Don't bother forward declaring Function and Value, just include
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 13 20:55:37 PDT 2015
Author: chandlerc
Date: Thu Aug 13 22:55:36 2015
New Revision: 245023
URL: http://llvm.org/viewvc/llvm-project?rev=245023&view=rev
Log:
[PM/AA] Don't bother forward declaring Function and Value, just include
their headers.
Modified:
llvm/trunk/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp
Modified: llvm/trunk/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp?rev=245023&r1=245022&r2=245023&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp Thu Aug 13 22:55:36 2015
@@ -22,18 +22,15 @@
#include "ObjCARC.h"
#include "ObjCARCAliasAnalysis.h"
+#include "llvm/IR/Function.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"
-namespace llvm {
- class Function;
- class Value;
-}
-
using namespace llvm;
using namespace llvm::objcarc;
More information about the llvm-commits
mailing list