Fix layering violation: Analysis should not include headers from Transforms
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 13 Oct 2015 21:32:32 +0000 (21:32 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 13 Oct 2015 21:32:32 +0000 (21:32 +0000)
(and in this case isn't even using anything from those headers).

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

include/llvm/Analysis/ObjCARCAnalysisUtils.h

index b032c0432b3355d0d65cf04d8868fa86d72910e2..29d99c9d316d4386a3d65633fb19ad3ee9f86564 100644 (file)
 #include "llvm/Analysis/Passes.h"
 #include "llvm/Analysis/ValueTracking.h"
 #include "llvm/IR/CallSite.h"
+#include "llvm/IR/Constants.h"
 #include "llvm/IR/InstIterator.h"
+#include "llvm/IR/LLVMContext.h"
 #include "llvm/IR/Module.h"
 #include "llvm/Pass.h"
-#include "llvm/Transforms/ObjCARC.h"
-#include "llvm/Transforms/Utils/Local.h"
 
 namespace llvm {
 class raw_ostream;