[clang] WIP: Improve the -Wundefined-func-template diagnostic note for invisible template functions (PR #129031)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 28 04:55:00 PST 2025
================
@@ -5654,6 +5654,8 @@ def warn_func_template_missing : Warning<"instantiation of function %q0 "
InGroup<UndefinedFuncTemplate>, DefaultIgnore;
def note_forward_template_decl : Note<
"forward declaration of template entity is here">;
+def note_unreachable_template_decl
+ : Note<"declaration of template entity is unreachable here">;
----------------
ilya-biryukov wrote:
I guess `"unreachable declaration of template entity is here" ` is a more natural choice.
https://github.com/llvm/llvm-project/pull/129031
More information about the cfe-commits
mailing list