summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-09-27 21:58:52 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-09-27 21:58:52 +0000
commitbe4b363060e14887f14edf70dfe95ed7c3d113c1 (patch)
tree3d00b1d0f795b1cce567b43edcfe8f1001daec38 /clang/lib/Sema/SemaInit.cpp
parent6a2eb5c1c833daaf5a529ece2a8458d9a70cce55 (diff)
downloadbcm5719-llvm-be4b363060e14887f14edf70dfe95ed7c3d113c1.tar.gz
bcm5719-llvm-be4b363060e14887f14edf70dfe95ed7c3d113c1.zip
Get rid of useless helper Sema::CastCategory.
llvm-svn: 140642
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
-rw-r--r--clang/lib/Sema/SemaInit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp
index e61fe2d5195..451abd45346 100644
--- a/clang/lib/Sema/SemaInit.cpp
+++ b/clang/lib/Sema/SemaInit.cpp
@@ -4783,7 +4783,7 @@ InitializationSequence::Perform(Sema &S,
case SK_ObjCObjectConversion:
CurInit = S.ImpCastExprToType(CurInit.take(), Step->Type,
CK_ObjCObjectLValueCast,
- S.CastCategory(CurInit.get()));
+ CurInit.get()->getValueKind());
break;
case SK_ArrayInit:
OpenPOWER on IntegriCloud