mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Try to appease MSVC buildbots after r221466.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b80486e3a
commit
2dc0735049
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user