aboutsummaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2023-12-06 15:05:17 -0800
committerJohannes Doerfert <johannes@jdoerfert.de>2023-12-06 15:06:21 -0800
commit62b11e1b1640edfdc9e3f3f2d62c666622c1daee (patch)
treee5fc946325a84b09ea6cba8de2f08904a6087da8 /openmp
parent2ba9720a76491709288467f3d51530cc6d031540 (diff)
downloadllvm-62b11e1b1640edfdc9e3f3f2d62c666622c1daee.zip
llvm-62b11e1b1640edfdc9e3f3f2d62c666622c1daee.tar.gz
llvm-62b11e1b1640edfdc9e3f3f2d62c666622c1daee.tar.bz2
[OpenMP][NFC] Actually use a string in the error message
Diffstat (limited to 'openmp')
-rw-r--r--openmp/libomptarget/src/PluginManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/libomptarget/src/PluginManager.cpp b/openmp/libomptarget/src/PluginManager.cpp
index f93e88e..16e04dd 100644
--- a/openmp/libomptarget/src/PluginManager.cpp
+++ b/openmp/libomptarget/src/PluginManager.cpp
@@ -61,7 +61,7 @@ Error PluginAdaptorTy::init() {
return createStringError(inconvertibleErrorCode(), \
"Invalid plugin as necessary interface function " \
"(%s) was not found.\n", \
- NAME); \
+ std::string(#NAME).c_str()); \
}
#include "Shared/PluginAPI.inc"