]> granicus.if.org Git - clang/commitdiff
[CodeGen] Make CGCleanup.h include what it now uses
authorReid Kleckner <reid@kleckner.net>
Sun, 9 Jun 2013 16:56:53 +0000 (16:56 +0000)
committerReid Kleckner <reid@kleckner.net>
Sun, 9 Jun 2013 16:56:53 +0000 (16:56 +0000)
Also move CGCleanup.h to the top of CGCleanup.cpp to verify that
CGCleanup.h really includes what it needs.

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

lib/CodeGen/CGCleanup.cpp
lib/CodeGen/CGCleanup.h

index b41c7e0970bf40e25d20bc1042503870b0fd09fc..9f693ca8b7b3957dc3efc93c818bff11999c61d2 100644 (file)
@@ -17,8 +17,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "CodeGenFunction.h"
 #include "CGCleanup.h"
+#include "CodeGenFunction.h"
 
 using namespace clang;
 using namespace CodeGen;
index 5e22a66ef4ff3f6104a263c9598da70f43fca9ff..40a7502973e1b6014a614b289aa465e64dabaf21 100644 (file)
 #include "clang/Basic/LLVM.h"
 #include "llvm/ADT/SmallPtrSet.h"
 #include "llvm/ADT/SmallVector.h"
-
-namespace llvm {
-  class Value;
-  class BasicBlock;
-  class BranchInst;
-}
+#include "llvm/IR/BasicBlock.h"
+#include "llvm/IR/Value.h"
+#include "llvm/IR/Instructions.h"
 
 namespace clang {
 namespace CodeGen {