summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2014-11-06 19:00:47 +0000
committerFrederic Riss <friss@apple.com>2014-11-06 19:00:47 +0000
commit051cd75b6d19f5cf576fa7b6b9c61cb7034c0b3b (patch)
tree6431260612d8a31e8184e35ad469a9638b6c462e /llvm/lib
parent930fdc77ddcaa766a88af3dcf28d80fe2217922f (diff)
downloadbcm5719-llvm-051cd75b6d19f5cf576fa7b6b9c61cb7034c0b3b.tar.gz
bcm5719-llvm-051cd75b6d19f5cf576fa7b6b9c61cb7034c0b3b.zip
Try to appease MSVC buildbots after r221466.
llvm-svn: 221471
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/IR/DIBuilder.cpp2
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);
OpenPOWER on IntegriCloud