forked from OSchip/llvm-project
Remove an unsued-variable warning, NFC.
This commit is contained in:
parent
81bffdf6a5
commit
5775c5d05c
|
@ -1007,10 +1007,10 @@ void DeclPrinter::VisitCXXRecordDecl(CXXRecordDecl *D) {
|
|||
}
|
||||
}
|
||||
|
||||
if (auto *Def = D->getDefinition()) {
|
||||
if (D->hasAttr<FinalAttr>()) {
|
||||
Out << " final";
|
||||
}
|
||||
if (D->hasDefinition()) {
|
||||
if (D->hasAttr<FinalAttr>()) {
|
||||
Out << " final";
|
||||
}
|
||||
}
|
||||
|
||||
if (D->isCompleteDefinition()) {
|
||||
|
|
Loading…
Reference in New Issue