diff options
| author | Frederic Riss <friss@apple.com> | 2014-11-06 19:00:47 +0000 |
|---|---|---|
| committer | Frederic Riss <friss@apple.com> | 2014-11-06 19:00:47 +0000 |
| commit | 051cd75b6d19f5cf576fa7b6b9c61cb7034c0b3b (patch) | |
| tree | 6431260612d8a31e8184e35ad469a9638b6c462e /llvm/lib/IR/DIBuilder.cpp | |
| parent | 930fdc77ddcaa766a88af3dcf28d80fe2217922f (diff) | |
| download | bcm5719-llvm-051cd75b6d19f5cf576fa7b6b9c61cb7034c0b3b.tar.gz bcm5719-llvm-051cd75b6d19f5cf576fa7b6b9c61cb7034c0b3b.zip | |
Try to appease MSVC buildbots after r221466.
llvm-svn: 221471
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
| -rw-r--r-- | llvm/lib/IR/DIBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp index fbd19596377..2486ccef951 100644 --- a/llvm/lib/IR/DIBuilder.cpp +++ b/llvm/lib/IR/DIBuilder.cpp @@ -194,7 +194,7 @@ DIImportedEntity DIBuilder::createImportedDeclaration(DIScope Context, unsigned Line, StringRef Name) { // Make sure to use the unique identifier based metadata reference for // types that have one. - Value *V = Decl.isType() ? DIType(Decl).getRef() : Decl; + Value *V = Decl.isType() ? static_cast<Value*>(DIType(Decl).getRef()) : Decl; return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_declaration, Context, V, Line, Name, AllImportedModules); |

