diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2023-12-06 15:05:17 -0800 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2023-12-06 15:06:21 -0800 |
commit | 62b11e1b1640edfdc9e3f3f2d62c666622c1daee (patch) | |
tree | e5fc946325a84b09ea6cba8de2f08904a6087da8 | |
parent | 2ba9720a76491709288467f3d51530cc6d031540 (diff) | |
download | llvm-62b11e1b1640edfdc9e3f3f2d62c666622c1daee.zip llvm-62b11e1b1640edfdc9e3f3f2d62c666622c1daee.tar.gz llvm-62b11e1b1640edfdc9e3f3f2d62c666622c1daee.tar.bz2 |
[OpenMP][NFC] Actually use a string in the error message
-rw-r--r-- | openmp/libomptarget/src/PluginManager.cpp | 2 |
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" |