diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-23 10:35:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-23 10:35:09 +0000 |
commit | 95c664b30062981dce3dcc98b4981eb5abb9c1ef (patch) | |
tree | a0ade8dda7e9c2593c02e82c4fcd20ce0d6ba260 /clang/lib | |
parent | ecad62f909c5da40682990a7accef19ee2eaefb3 (diff) | |
download | bcm5719-llvm-95c664b30062981dce3dcc98b4981eb5abb9c1ef.tar.gz bcm5719-llvm-95c664b30062981dce3dcc98b4981eb5abb9c1ef.zip |
clean up forward declarations of raw_ostream to use the new LLVM.h
patch by Jon Mulder!
llvm-svn: 135851
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/CodeGen/CGCXXABI.h | 4 | ||||
-rw-r--r-- | clang/lib/CodeGen/CGRecordLayout.h | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGCXXABI.h b/clang/lib/CodeGen/CGCXXABI.h index 8c0df38ff1a..c2abf358329 100644 --- a/clang/lib/CodeGen/CGCXXABI.h +++ b/clang/lib/CodeGen/CGCXXABI.h @@ -15,14 +15,14 @@ #ifndef CLANG_CODEGEN_CXXABI_H #define CLANG_CODEGEN_CXXABI_H +#include "clang/Basic/LLVM.h" + #include "CodeGenFunction.h" namespace llvm { class Constant; class Type; class Value; - - template <class T> class SmallVectorImpl; } namespace clang { diff --git a/clang/lib/CodeGen/CGRecordLayout.h b/clang/lib/CodeGen/CGRecordLayout.h index e2fd45dc86b..25a0a508f18 100644 --- a/clang/lib/CodeGen/CGRecordLayout.h +++ b/clang/lib/CodeGen/CGRecordLayout.h @@ -10,12 +10,13 @@ #ifndef CLANG_CODEGEN_CGRECORDLAYOUT_H #define CLANG_CODEGEN_CGRECORDLAYOUT_H -#include "llvm/ADT/DenseMap.h" -#include "llvm/DerivedTypes.h" #include "clang/AST/CharUnits.h" #include "clang/AST/Decl.h" +#include "clang/Basic/LLVM.h" +#include "llvm/ADT/DenseMap.h" +#include "llvm/DerivedTypes.h" + namespace llvm { - class raw_ostream; class StructType; } |