[clang] [clang][Sema] Suggest/Hint Standard Library Include File (PR #146227)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 5 03:55:56 PDT 2025
================
@@ -5990,6 +5990,10 @@ def err_template_expansion_into_fixed_list : Error<
"template|concept}0">;
def note_parameter_type : Note<
"parameter of type %0 is declared here">;
+def note_standard_lib_include_suggestion : Note<
+ "maybe try to include %0; '%1' is defined in %0">;
+def note_standard_lib_version : Note<
+ "'%0' is a %1 feature">;
----------------
Mr-Anyone wrote:
I am not sure if `%enum_select` is this is what you are looking for. It seems that tablgen generates another enum when using `%enum_select`.
https://github.com/llvm/llvm-project/pull/146227
More information about the cfe-commits
mailing list