CGDebugInfo: Delete redundant test

This commit is contained in:
Fangrui Song 2021-01-10 22:09:47 -08:00
parent dcac2da106
commit 6215c1b778
1 changed files with 0 additions and 2 deletions

View File

@ -3148,8 +3148,6 @@ llvm::DIType *CGDebugInfo::getTypeOrNull(QualType Ty) {
void CGDebugInfo::completeTemplateDefinition(
const ClassTemplateSpecializationDecl &SD) {
if (DebugKind <= codegenoptions::DebugLineTablesOnly)
return;
completeUnusedClass(SD);
}