Skip to content

Commit ae023f3

Browse files
[flang] Fix a warning
This patch fixes: flang/include/flang/Semantics/openmp-modifiers.h:45:69: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
1 parent fa9bcb4 commit ae023f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/include/flang/Semantics/openmp-modifiers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace Fortran::semantics {
4242
// or post-modifier (i.e. item: modifier). The default is pre-.
4343
// Add an additional property that reflects the type of modifier.
4444

45-
ENUM_CLASS(OmpProperty, Required, Unique, Exclusive, Ultimate, Post);
45+
ENUM_CLASS(OmpProperty, Required, Unique, Exclusive, Ultimate, Post)
4646
using OmpProperties = common::EnumSet<OmpProperty, OmpProperty_enumSize>;
4747
using OmpClauses =
4848
common::EnumSet<llvm::omp::Clause, llvm::omp::Clause_enumSize>;

0 commit comments

Comments
 (0)