summaryrefslogtreecommitdiffstats
path: root/clang/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
commit9759793855c97829238e1997785625749bd7b6ec (patch)
treef7037ad44ff332efe44632ab61b598f2751eb08e /clang/lib/Frontend/RewriteObjC.cpp
parent85d70594f0a15b87ad0c1e7adc299a06c3567fda (diff)
downloadbcm5719-llvm-9759793855c97829238e1997785625749bd7b6ec.tar.gz
bcm5719-llvm-9759793855c97829238e1997785625749bd7b6ec.zip
Add an InheritancePath parameter to the ImplicitCastExpr constructor.
llvm-svn: 102218
Diffstat (limited to 'clang/lib/Frontend/RewriteObjC.cpp')
-rw-r--r--clang/lib/Frontend/RewriteObjC.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Frontend/RewriteObjC.cpp b/clang/lib/Frontend/RewriteObjC.cpp
index 65b57d6b7a9..66b8d39c70b 100644
--- a/clang/lib/Frontend/RewriteObjC.cpp
+++ b/clang/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>();
OpenPOWER on IntegriCloud