diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-07-31 01:23:52 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-07-31 01:23:52 +0000 |
| commit | a076d14514200507ba381bada8e23adf5e6ba17d (patch) | |
| tree | fa2e10e81835660ce4c1918bf179a45ffa8ec8d4 /clang/lib/Sema/Sema.h | |
| parent | 5b78af9ed72f9abe0c95bd90398e08f25c93314b (diff) | |
| download | bcm5719-llvm-a076d14514200507ba381bada8e23adf5e6ba17d.tar.gz bcm5719-llvm-a076d14514200507ba381bada8e23adf5e6ba17d.zip | |
Add CK_DerivedToBase and use it PerformObjectMemberConversion.
llvm-svn: 77652
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index fc70090906a..989dc76a706 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -2972,7 +2972,9 @@ public: /// ImpCastExprToType - If Expr is not of type 'Type', insert an implicit /// cast. If there is already an implicit cast, merge into the existing one. /// If isLvalue, the result of the cast is an lvalue. - void ImpCastExprToType(Expr *&Expr, QualType Type, bool isLvalue = false); + void ImpCastExprToType(Expr *&Expr, QualType Type, + CastExpr::CastKind Kind = CastExpr::CK_Unknown, + bool isLvalue = false); // UsualUnaryConversions - promotes integers (C99 6.3.1.1p2) and converts // functions and arrays to their respective pointers (C99 6.3.2.1). |

