diff options
author | Anders Carlsson <andersca@mac.com> | 2009-09-29 02:09:01 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-09-29 02:09:01 +0000 |
commit | b05a3e551b9a2f2f8df16c03a995853662b3895b (patch) | |
tree | 242286c2323bc94b816b919c76210f65f80a05e9 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 1fb7ae9e3ca14afc6621f65d7a6b0909ddfa4a4d (diff) | |
download | bcm5719-llvm-b05a3e551b9a2f2f8df16c03a995853662b3895b.tar.gz bcm5719-llvm-b05a3e551b9a2f2f8df16c03a995853662b3895b.zip |
Improve support for member function pointers.
llvm-svn: 83039
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index fff1a84f702..72009daef68 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -66,7 +66,8 @@ const llvm::Type *CodeGenFunction::ConvertType(QualType T) { } bool CodeGenFunction::hasAggregateLLVMType(QualType T) { - return T->isRecordType() || T->isArrayType() || T->isAnyComplexType(); + return T->isRecordType() || T->isArrayType() || T->isAnyComplexType() || + T->isMemberFunctionPointerType(); } void CodeGenFunction::EmitReturnBlock() { |