summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-29 02:09:01 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-29 02:09:01 +0000
commitb05a3e551b9a2f2f8df16c03a995853662b3895b (patch)
tree242286c2323bc94b816b919c76210f65f80a05e9 /clang/lib/CodeGen/CodeGenFunction.cpp
parent1fb7ae9e3ca14afc6621f65d7a6b0909ddfa4a4d (diff)
downloadbcm5719-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.cpp3
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() {
OpenPOWER on IntegriCloud