diff options
author | John McCall <rjmccall@apple.com> | 2010-08-23 23:25:46 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-08-23 23:25:46 +0000 |
commit | b268a282a4f1911f1300fb703f28d77a78562d16 (patch) | |
tree | e9f72cf3658f6dc28ffb3ea17ae043b9b761ba5a /clang/lib/Sema/SemaCXXCast.cpp | |
parent | aaed5ea9b75ee6f6d699ed4033c4d77b689ee8b4 (diff) | |
download | bcm5719-llvm-b268a282a4f1911f1300fb703f28d77a78562d16.tar.gz bcm5719-llvm-b268a282a4f1911f1300fb703f28d77a78562d16.zip |
Kill off ExprArg (now just Expr*) and StmtArg (now just Stmt*).
llvm-svn: 111863
Diffstat (limited to 'clang/lib/Sema/SemaCXXCast.cpp')
-rw-r--r-- | clang/lib/Sema/SemaCXXCast.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaCXXCast.cpp b/clang/lib/Sema/SemaCXXCast.cpp index a7225180ac6..f1bdc7a1f54 100644 --- a/clang/lib/Sema/SemaCXXCast.cpp +++ b/clang/lib/Sema/SemaCXXCast.cpp @@ -135,9 +135,8 @@ Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, Action::OwningExprResult Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, - TypeSourceInfo *DestTInfo, ExprArg E, + TypeSourceInfo *DestTInfo, ExprArg Ex, SourceRange AngleBrackets, SourceRange Parens) { - Expr *Ex = E.takeAs<Expr>(); QualType DestType = DestTInfo->getType(); SourceRange OpRange(OpLoc, Parens.getEnd()); |