Skip to content

Commit 470040b

Browse files
committed
[Libomptarget][NFC] Remove warning on return value const
1 parent f3a8af0 commit 470040b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openmp/libomptarget/plugins-nextgen/common/include/PluginInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ template <typename ResourceRef> class GenericDeviceResourceManagerTy {
13931393
};
13941394

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

13981398
} // namespace plugin
13991399
} // namespace target

openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,7 @@ Expected<bool> GenericPluginTy::checkELFImage(StringRef Image) const {
15601560
return isELFCompatible(Image);
15611561
}
15621562

1563-
const bool llvm::omp::target::plugin::libomptargetSupportsRPC() {
1563+
bool llvm::omp::target::plugin::libomptargetSupportsRPC() {
15641564
#ifdef LIBOMPTARGET_RPC_SUPPORT
15651565
return true;
15661566
#else

0 commit comments

Comments
 (0)