Skip to content

Commit 3855c49

Browse files
committed
[flang][OpenMP] Fix build break with -Werror
llvm-project/flang/lib/Semantics/resolve-directives.cpp:753:7: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default] 753 | default: | ^ 1 error generated. https://lab.llvm.org/buildbot/#/builders/53/builds/17917
1 parent f7a3be7 commit 3855c49

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

flang/lib/Semantics/resolve-directives.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,6 @@ class OmpAttributeVisitor : DirectiveAttributeVisitor<llvm::omp::Directive> {
750750
case parser::OmpMapType::Value::Delete:
751751
ompFlag = Symbol::Flag::OmpMapDelete;
752752
break;
753-
default:
754-
break;
755753
}
756754
}
757755
if (!ompFlag) {

0 commit comments

Comments
 (0)