Skip to content

Commit 5833a9e

Browse files
authored
[OpenMP] Fix -Wc++98-compat-extra-semi warning (NFC) (#68022)
Compiling OpenMP with LLVM 16 triggers the following warning: warning: extra ';' outside of a function is incompatible with C++98
1 parent d4fb503 commit 5833a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/libomptarget/src/interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ EXTERN int __tgt_activate_record_replay(int64_t DeviceId, uint64_t MemorySize,
358358
assert(Rc == OFFLOAD_SUCCESS &&
359359
"__tgt_activate_record_replay unexpected failure!");
360360
return OMP_TGT_SUCCESS;
361-
};
361+
}
362362

363363
/// Implements a target kernel entry that replays a pre-recorded kernel.
364364
/// \param Loc Source location associated with this target region (unused).

0 commit comments

Comments
 (0)