[PATCH] D143803: [clang][alias|ifunc]: Add a diagnostic for mangled names
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 27 16:20:02 PST 2023
dblaikie added a comment.
I think "mangled name" is probably the closest without being overly verbose for the average user.
We do use "mangled name" in a few places already, some which look not too unrelated to this one:
clang/include/clang/Basic/DiagnosticSemaKinds.td: "mangled name of %0 will change in C++17 due to non-throwing exception "
clang/include/clang/Basic/DiagnosticSemaKinds.td- "specification in function signature">, InGroup<CXX17CompatMangling>;
clang/include/clang/Basic/DiagnosticSemaKinds.td-
--
clang/include/clang/Basic/DiagnosticSemaKinds.td:def err_hip_invalid_args_builtin_mangled_name : Error<
clang/include/clang/Basic/DiagnosticSemaKinds.td- "invalid argument: symbol must be a device-side function or global variable">;
--
clang/include/clang/Basic/DiagnosticFrontendKinds.td:def err_duplicate_mangled_name : Error<
clang/include/clang/Basic/DiagnosticFrontendKinds.td: "definition with same mangled name '%0' as another definition">;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143803/new/
https://reviews.llvm.org/D143803
More information about the cfe-commits
mailing list