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 | e9d34dc7afe06c9adaacad7a678a0cbbf749ea75 (patch) | |
tree | d43be36db2fd3e4d362e16117d163f1cfb80d898 /lib/CodeGen/CodeGenFunction.cpp | |
parent | 3016842613674ab80796567239c15d529aff1458 (diff) |
Improve support for member function pointers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index fff1a84f70..72009daef6 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/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() { |