Skip to content

Commit 9ed1aa3

Browse files
committed
Fixing up an edit missed in #84014; NFC
1 parent 09eb9f1 commit 9ed1aa3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

clang/lib/AST/DeclPrinter.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,12 +1037,9 @@ void DeclPrinter::VisitVarDecl(VarDecl *D) {
10371037
: D->getName();
10381038

10391039
if (!Policy.SuppressTagKeyword && Policy.SuppressScope &&
1040-
!Policy.SuppressUnwrittenScope) {
1040+
!Policy.SuppressUnwrittenScope)
10411041
MaybePrintTagKeywordIfSupressingScopes(Policy, T, Out);
1042-
printDeclType(T, Name);
1043-
} else {
1044-
printDeclType(T, Name);
1045-
}
1042+
printDeclType(T, Name);
10461043

10471044
// Print the attributes that should be placed right before the end of the
10481045
// decl.

0 commit comments

Comments
 (0)