Skip to content

Commit

Permalink
[Libomptarget][NFC] Remove warning on return value const
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuber6 committed Mar 15, 2024
1 parent f3a8af0 commit 470040b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ template <typename ResourceRef> class GenericDeviceResourceManagerTy {
};

/// A static check on whether or not we support RPC in libomptarget.
const bool libomptargetSupportsRPC();
bool libomptargetSupportsRPC();

} // namespace plugin
} // namespace target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ Expected<bool> GenericPluginTy::checkELFImage(StringRef Image) const {
return isELFCompatible(Image);
}

const bool llvm::omp::target::plugin::libomptargetSupportsRPC() {
bool llvm::omp::target::plugin::libomptargetSupportsRPC() {
#ifdef LIBOMPTARGET_RPC_SUPPORT
return true;
#else
Expand Down

0 comments on commit 470040b

Please sign in to comment.