Skip to content

Commit

Permalink
Fixing up an edit missed in #84014; NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronBallman committed Mar 19, 2024
1 parent 09eb9f1 commit 9ed1aa3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions clang/lib/AST/DeclPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1037,12 +1037,9 @@ void DeclPrinter::VisitVarDecl(VarDecl *D) {
: D->getName();

if (!Policy.SuppressTagKeyword && Policy.SuppressScope &&
!Policy.SuppressUnwrittenScope) {
!Policy.SuppressUnwrittenScope)
MaybePrintTagKeywordIfSupressingScopes(Policy, T, Out);
printDeclType(T, Name);
} else {
printDeclType(T, Name);
}
printDeclType(T, Name);

// Print the attributes that should be placed right before the end of the
// decl.
Expand Down

0 comments on commit 9ed1aa3

Please sign in to comment.