diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-10-06 12:42:31 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-10-06 12:42:31 +0000 |
commit | d2a3f4765b19254a705e4a8c7bee4af0f5a120f7 (patch) | |
tree | 1cb4853239ce3657065aded46d0ae8b7284d475a /clang/lib/CodeGen | |
parent | 11527a1d71c772dd5f415a7fe9755169c17a948e (diff) | |
download | bcm5719-llvm-d2a3f4765b19254a705e4a8c7bee4af0f5a120f7.tar.gz bcm5719-llvm-d2a3f4765b19254a705e4a8c7bee4af0f5a120f7.zip |
Using an explicit cast to work around MSVC 2013 not picking the conversion operator as expected. NFC, should fix the MSVC build bots.
llvm-svn: 219116
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 8e2d0de6ecd..025bdfaed0e 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -1178,7 +1178,7 @@ CollectCXXMemberFunctions(const CXXRecordDecl *RD, llvm::DIFile Unit, auto MI = SPCache.find(Method->getCanonicalDecl()); EltTys.push_back(MI == SPCache.end() ? CreateCXXMemberFunction(Method, Unit, RecordTy) - : MI->second); + : static_cast<llvm::Value *>(MI->second)); } } |