Skip to content

Commit 0e87366

Browse files
committed
TextNodeDumper.cpp - remove empty switch to fix MSVC "switch statement contains 'default' but no 'case' labels" warning. NFC.
1 parent 2bc637b commit 0e87366

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

clang/lib/AST/TextNodeDumper.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -390,14 +390,6 @@ void TextNodeDumper::Visit(const OpenACCClause *C) {
390390
{
391391
ColorScope Color(OS, ShowColors, AttrColor);
392392
OS << C->getClauseKind();
393-
394-
// Handle clauses with parens for types that have no children, likely
395-
// because there is no sub expression.
396-
switch (C->getClauseKind()) {
397-
default:
398-
// Nothing to do here.
399-
break;
400-
}
401393
}
402394
dumpPointer(C);
403395
dumpSourceRange(SourceRange(C->getBeginLoc(), C->getEndLoc()));

0 commit comments

Comments
 (0)