From: Craig Topper Date: Mon, 4 May 2015 01:35:42 +0000 (+0000) Subject: [TableGen] Replace 'static_cast' with 'cast'. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=82b7c1b25b7f8f6784bc1ffa0f1cee60d43012de [TableGen] Replace 'static_cast' with 'cast'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236398 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/TableGen/Record.cpp b/lib/TableGen/Record.cpp index b4fcb473ef8..79b4e33a13d 100644 --- a/lib/TableGen/Record.cpp +++ b/lib/TableGen/Record.cpp @@ -883,7 +883,7 @@ Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const { Args.insert(Args.end(), LHSs->begin(), LHSs->end()); Args.insert(Args.end(), RHSs->begin(), RHSs->end()); return ListInit::get( - Args, static_cast(LHSs->getType())->getElementType()); + Args, cast(LHSs->getType())->getElementType()); } break; }