Thanks! saw this earlier but wasn't sure if it's OK to cast. Yaron
2014-10-06 15:42 GMT+03:00 Aaron Ballman <[email protected]>: > 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 > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
