diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-04-08 14:29:17 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-04-08 14:31:46 +0100 |
commit | 0e8736694f752898ed7957a11a11c42f8f6a98d1 (patch) | |
tree | 55b121ecb76cb3841a6efc1dbedb6343bb6db708 | |
parent | 2bc637b1ce935550b6e09618c76474253943a7cc (diff) |
TextNodeDumper.cpp - remove empty switch to fix MSVC "switch statement contains 'default' but no 'case' labels" warning. NFC.
-rw-r--r-- | clang/lib/AST/TextNodeDumper.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/AST/TextNodeDumper.cpp b/clang/lib/AST/TextNodeDumper.cpp index 0ffbf47c9a2f..f498de637434 100644 --- a/clang/lib/AST/TextNodeDumper.cpp +++ b/clang/lib/AST/TextNodeDumper.cpp @@ -390,14 +390,6 @@ void TextNodeDumper::Visit(const OpenACCClause *C) { { ColorScope Color(OS, ShowColors, AttrColor); OS << C->getClauseKind(); - - // Handle clauses with parens for types that have no children, likely - // because there is no sub expression. - switch (C->getClauseKind()) { - default: - // Nothing to do here. - break; - } } dumpPointer(C); dumpSourceRange(SourceRange(C->getBeginLoc(), C->getEndLoc())); |