Skip to content

Commit

Permalink
[OpenMP] Fix -Wc++98-compat-extra-semi warning (NFC) (#68022)
Browse files Browse the repository at this point in the history
Compiling OpenMP with LLVM 16 triggers the following warning:
warning: extra ';' outside of a function is incompatible with C++98
  • Loading branch information
luporl committed Oct 2, 2023
1 parent d4fb503 commit 5833a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmp/libomptarget/src/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ EXTERN int __tgt_activate_record_replay(int64_t DeviceId, uint64_t MemorySize,
assert(Rc == OFFLOAD_SUCCESS &&
"__tgt_activate_record_replay unexpected failure!");
return OMP_TGT_SUCCESS;
};
}

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

0 comments on commit 5833a9e

Please sign in to comment.