From: Philip Pfaffe Date: Fri, 20 Jul 2018 17:24:11 +0000 (+0000) Subject: [Any] Fix a typo: didn't use the correct argument X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2628620b62d57ca68a2df7220b28c05852a9dd98;p=platform%2Fupstream%2Fllvm.git [Any] Fix a typo: didn't use the correct argument llvm-svn: 337583 --- diff --git a/llvm/include/llvm/ADT/Any.h b/llvm/include/llvm/ADT/Any.h index f62d603..2be15bb 100644 --- a/llvm/include/llvm/ADT/Any.h +++ b/llvm/include/llvm/ADT/Any.h @@ -110,7 +110,7 @@ template bool any_isa(const Any &Value) { template T any_cast(const Any &Value) { using U = typename std::remove_cv::type>::type; - return static_cast(*any_cast(&operand)); + return static_cast(*any_cast(&Value)); } template T any_cast(Any &Value) {