diff options
author | Anders Carlsson <andersca@mac.com> | 2010-02-06 02:44:09 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-02-06 02:44:09 +0000 |
commit | b2bcf1c176b200b36f371e189ce22f93c86cdf45 (patch) | |
tree | e5fff0b1f46541f23f7d1df3991ec981a0f313d3 /lib/CodeGen/GlobalDecl.h | |
parent | 1610b8198e31eb6d77d4d6904d6af88ef5cc6d3b (diff) |
Use the correct function info for constructors when applying function attributes. Fixes PR6245.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/GlobalDecl.h')
-rw-r--r-- | lib/CodeGen/GlobalDecl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/GlobalDecl.h b/lib/CodeGen/GlobalDecl.h index b054312a01..b8a98d7c03 100644 --- a/lib/CodeGen/GlobalDecl.h +++ b/lib/CodeGen/GlobalDecl.h @@ -15,6 +15,10 @@ #ifndef CLANG_CODEGEN_GLOBALDECL_H #define CLANG_CODEGEN_GLOBALDECL_H +#include "CGCXX.h" +#include "clang/AST/DeclCXX.h" +#include "clang/AST/DeclObjC.h" + namespace clang { namespace CodeGen { |