Skip to content

Commit 8545f69

Browse files
author
git apple-llvm automerger
committed
Merge commit '277bd096890f' from llvm.org/main into next
2 parents f306de7 + 277bd09 commit 8545f69

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

clang/lib/AST/TextNodeDumper.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2481,27 +2481,13 @@ void TextNodeDumper::VisitVarDecl(const VarDecl *D) {
24812481
break;
24822482
case VarDecl::ParenListInit:
24832483
OS << " parenlistinit";
2484-
break;
24852484
}
24862485
}
24872486
if (D->needsDestruction(D->getASTContext()))
24882487
OS << " destroyed";
24892488
if (D->isParameterPack())
24902489
OS << " pack";
24912490

2492-
VarDecl::DefinitionKind K = D->isThisDeclarationADefinition();
2493-
switch (K) {
2494-
case VarDecl::DefinitionKind::DeclarationOnly:
2495-
OS << " declaration";
2496-
break;
2497-
case VarDecl::DefinitionKind::Definition:
2498-
OS << " definition";
2499-
break;
2500-
case VarDecl::DefinitionKind::TentativeDefinition:
2501-
OS << " tentative definition";
2502-
break;
2503-
}
2504-
25052491
if (const auto *Instance = D->getTemplateInstantiationPattern()) {
25062492
OS << " instantiated_from";
25072493
dumpPointer(Instance);

0 commit comments

Comments
 (0)