[clang] WIP: Improve the -Wundefined-func-template diagnostic note for invisible template functions (PR #129031)

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 28 06:19:46 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">;
----------------
hokein wrote:

Done.

https://github.com/llvm/llvm-project/pull/129031


More information about the cfe-commits mailing list