diff options
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. | 

