[llvm] [Offload][OpenMP] Prettify error messages by "demangling" the kernel name (PR #101400)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 13:10:08 PDT 2024
================
@@ -186,4 +192,55 @@ bool isCombinedConstruct(Directive D) {
// Otherwise directive-name is a combined construct.
return !getLeafConstructs(D).empty() && !isCompositeConstruct(D);
}
+
+std::string prettityFunctionName(StringRef FunctionName) {
----------------
jhuber6 wrote:
`beautifulyFunctionName`? `prettyPrintFunction`?
https://github.com/llvm/llvm-project/pull/101400
More information about the llvm-commits
mailing list