forked from OSchip/llvm-project
Fix warning on unused variables. NFC.
This commit is contained in:
parent
b373ec8ce7
commit
318d0ede57
|
@ -3667,7 +3667,7 @@ void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, SourceLocation Loc,
|
|||
} else {
|
||||
Name = Fn->getName();
|
||||
|
||||
if (const auto *BD = dyn_cast<BlockDecl>(D))
|
||||
if (isa<BlockDecl>(D))
|
||||
LinkageName = Name;
|
||||
|
||||
Flags |= llvm::DINode::FlagPrototyped;
|
||||
|
|
Loading…
Reference in New Issue