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/SemaExpr.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/SemaExpr.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 9edf259ae61..b311cf74388 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -3075,8 +3075,8 @@ Sema::ActOnCastExpr(SourceLocation LParenLoc, TypeTy *Ty,    if (CheckCastTypes(SourceRange(LParenLoc, RParenLoc), castType, castExpr))      return ExprError();    return Owned(new (Context) CStyleCastExpr(castType.getNonReferenceType(), -                                            castExpr, castType, -                                            LParenLoc, RParenLoc)); +                                            CastExpr::CK_Unknown, castExpr,  +                                            castType, LParenLoc, RParenLoc));  }  /// Note that lhs is not null here, even if this is the gnu "x ?: y" extension. | 

