diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-07-31 00:48:10 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-07-31 00:48:10 +0000 |
| commit | a26159261c3c18c0ea8ce413a4e2a69ecc80d49e (patch) | |
| tree | 085a3f8189a1250e3780c414d7eeca36643662e8 /clang/lib/Sema/SemaExprCXX.cpp | |
| parent | 218388fb8d87c037eb019f339faff711dd03eb6f (diff) | |
| download | bcm5719-llvm-a26159261c3c18c0ea8ce413a4e2a69ecc80d49e.tar.gz bcm5719-llvm-a26159261c3c18c0ea8ce413a4e2a69ecc80d49e.zip | |
Add a CastKind enum to CastExpr. Right now it's not used for much but it will be :)
llvm-svn: 77650
Diffstat (limited to 'clang/lib/Sema/SemaExprCXX.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExprCXX.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index dc16dda9feb..8ff28405e8e 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -207,8 +207,9 @@ Sema::ActOnCXXTypeConstructExpr(SourceRange TypeRange, TypeTy *TypeRep, return ExprError(); exprs.release(); return Owned(new (Context) CXXFunctionalCastExpr(Ty.getNonReferenceType(), - Ty, TyBeginLoc, Exprs[0], - RParenLoc)); + Ty, TyBeginLoc, + CastExpr::CK_Unknown, + Exprs[0], RParenLoc)); } if (const RecordType *RT = Ty->getAs<RecordType>()) { |

