aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/RewriteObjC.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-04-23 22:18:37 +0000
committerAnders Carlsson <andersca@mac.com>2010-04-23 22:18:37 +0000
commit88465d3e996e627bbaa11099b039ddab66d5af2c (patch)
treeaf24459279b9dda86eea5d03ed91258e3c8b6dc1 /lib/Frontend/RewriteObjC.cpp
parentf88b0d6c99e6473e78331271935986535dc4603c (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.cpp8
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>();