diff options
author | Anders Carlsson <andersca@mac.com> | 2010-04-23 22:18:37 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-04-23 22:18:37 +0000 |
commit | 88465d3e996e627bbaa11099b039ddab66d5af2c (patch) | |
tree | af24459279b9dda86eea5d03ed91258e3c8b6dc1 /lib/Frontend/RewriteObjC.cpp | |
parent | f88b0d6c99e6473e78331271935986535dc4603c (diff) |
Add an InheritancePath parameter to the ImplicitCastExpr constructor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/RewriteObjC.cpp')
-rw-r--r-- | lib/Frontend/RewriteObjC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Frontend/RewriteObjC.cpp b/lib/Frontend/RewriteObjC.cpp index 65b57d6b7a..66b8d39c70 100644 --- a/lib/Frontend/RewriteObjC.cpp +++ b/lib/Frontend/RewriteObjC.cpp @@ -2087,10 +2087,10 @@ CallExpr *RewriteObjC::SynthesizeCallToFunctionDecl( // Now, we cast the reference to a pointer to the objc_msgSend type. QualType pToFunc = Context->getPointerType(msgSendType); - ImplicitCastExpr *ICE = new (Context) ImplicitCastExpr(pToFunc, - CastExpr::CK_Unknown, - DRE, - /*isLvalue=*/false); + ImplicitCastExpr *ICE = + new (Context) ImplicitCastExpr(pToFunc, CastExpr::CK_Unknown, + DRE, /*InheritancePath=*/0, + /*isLvalue=*/false); const FunctionType *FT = msgSendType->getAs<FunctionType>(); |