<div dir="ltr">Thanks for fixing my bot before I got to it :o)</div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-06 16:42 GMT+04:00 Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank">aaron@aaronballman.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: aaronballman<br>
Date: Mon Oct  6 07:42:31 2014<br>
New Revision: 219116<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=219116&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=219116&view=rev</a><br>
Log:<br>
Using an explicit cast to work around MSVC 2013 not picking the conversion operator as expected. NFC, should fix the MSVC build bots.<br>
<br>
Modified:<br>
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp<br>
<br>
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=219116&r1=219115&r2=219116&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=219116&r1=219115&r2=219116&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)<br>
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Mon Oct  6 07:42:31 2014<br>
@@ -1178,7 +1178,7 @@ CollectCXXMemberFunctions(const CXXRecor<br>
     auto MI = SPCache.find(Method->getCanonicalDecl());<br>
     EltTys.push_back(MI == SPCache.end()<br>
                          ? CreateCXXMemberFunction(Method, Unit, RecordTy)<br>
-                         : MI->second);<br>
+                         : static_cast<llvm::Value *>(MI->second));<br>
   }<br>
 }<br>
<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>