r219116 - Using an explicit cast to work around MSVC 2013 not picking the conversion operator as expected. NFC, should fix the MSVC build bots.

Timur Iskhodzhanov timurrrr at google.com
Mon Oct 6 06:11:41 PDT 2014


Thanks for fixing my bot before I got to it :o)

2014-10-06 16:42 GMT+04:00 Aaron Ballman <aaron at aaronballman.com>:

> Author: aaronballman
> Date: Mon Oct  6 07:42:31 2014
> New Revision: 219116
>
> URL: http://llvm.org/viewvc/llvm-project?rev=219116&view=rev
> Log:
> Using an explicit cast to work around MSVC 2013 not picking the conversion
> operator as expected. NFC, should fix the MSVC build bots.
>
> Modified:
>     cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
>
> Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=219116&r1=219115&r2=219116&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
> +++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Mon Oct  6 07:42:31 2014
> @@ -1178,7 +1178,7 @@ CollectCXXMemberFunctions(const CXXRecor
>      auto MI = SPCache.find(Method->getCanonicalDecl());
>      EltTys.push_back(MI == SPCache.end()
>                           ? CreateCXXMemberFunction(Method, Unit, RecordTy)
> -                         : MI->second);
> +                         : static_cast<llvm::Value *>(MI->second));
>    }
>  }
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141006/f960d559/attachment.html>


More information about the cfe-commits mailing list