Home
last modified time | relevance | path

Searched refs:diagnostic (Results 1 – 25 of 131) sorted by relevance

123456

/dragonfly/contrib/gcc-4.7/gcc/
HDdiagnostic.c150 diagnostic_set_info_translated (diagnostic_info *diagnostic, const char *msg, in diagnostic_set_info_translated() argument
154 diagnostic->message.err_no = errno; in diagnostic_set_info_translated()
155 diagnostic->message.args_ptr = args; in diagnostic_set_info_translated()
156 diagnostic->message.format_spec = msg; in diagnostic_set_info_translated()
157 diagnostic->location = location; in diagnostic_set_info_translated()
158 diagnostic->override_column = 0; in diagnostic_set_info_translated()
159 diagnostic->kind = kind; in diagnostic_set_info_translated()
160 diagnostic->option_index = 0; in diagnostic_set_info_translated()
166 diagnostic_set_info (diagnostic_info *diagnostic, const char *gmsgid, in diagnostic_set_info() argument
170 diagnostic_set_info_translated (diagnostic, _(gmsgid), args, location, kind); in diagnostic_set_info()
[all …]
HDtree-diagnostic.c37 diagnostic_info *diagnostic) in diagnostic_report_current_function() argument
39 diagnostic_report_current_module (context, diagnostic->location); in diagnostic_report_current_function()
40 lang_hooks.print_error_function (context, input_filename, diagnostic); in diagnostic_report_current_function()
45 diagnostic_info *diagnostic) in default_tree_diagnostic_starter() argument
47 diagnostic_report_current_function (context, diagnostic); in default_tree_diagnostic_starter()
49 diagnostic)); in default_tree_diagnostic_starter()
109 diagnostic_info *diagnostic, in maybe_unwind_expanded_macro_loc() argument
179 saved_kind = diagnostic->kind; in maybe_unwind_expanded_macro_loc()
181 saved_location = diagnostic->location; in maybe_unwind_expanded_macro_loc()
183 diagnostic->kind = DK_NOTE; in maybe_unwind_expanded_macro_loc()
[all …]
HDc-errors.c36 diagnostic_info diagnostic; in pedwarn_c99() local
40 diagnostic_set_info (&diagnostic, gmsgid, &ap, location, in pedwarn_c99()
42 diagnostic.option_index = opt; in pedwarn_c99()
43 report_diagnostic (&diagnostic); in pedwarn_c99()
55 diagnostic_info diagnostic; in pedwarn_c90() local
59 diagnostic_set_info (&diagnostic, gmsgid, &ap, location, in pedwarn_c90()
61 diagnostic.option_index = opt; in pedwarn_c90()
62 report_diagnostic (&diagnostic); in pedwarn_c90()
HDdiagnostic.def20 assign this kind to an actual diagnostic, we only use this in
22 kind specified. I.e. they're uninitialized. Within the diagnostic
27 /* If a diagnostic is set to DK_IGNORED, it won't get reported at all.
28 This is used by the diagnostic machinery when it wants to disable a
29 diagnostic without disabling the option which causes it. */
32 /* The remainder are real diagnostic types. */
/dragonfly/contrib/libpcap/
HDdiag-control.h135 PCAP_DO_PRAGMA(clang diagnostic push) \
136 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wsign-compare") \
137 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wdocumentation") \
138 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wshorten-64-to-32") \
139 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wmissing-noreturn") \
140 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wunused-parameter") \
141 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wunreachable-code")
143 PCAP_DO_PRAGMA(clang diagnostic pop)
149 PCAP_DO_PRAGMA(clang diagnostic push) \
150 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wshorten-64-to-32")
[all …]
/dragonfly/contrib/gcc-8.0/gcc/c/
HDc-errors.c37 diagnostic_info diagnostic; in pedwarn_c99() local
47 diagnostic_set_info (&diagnostic, gmsgid, &ap, &richloc, in pedwarn_c99()
50 diagnostic.option_index = OPT_Wc99_c11_compat; in pedwarn_c99()
51 warned = diagnostic_report_diagnostic (global_dc, &diagnostic); in pedwarn_c99()
59 diagnostic_set_info (&diagnostic, gmsgid, &ap, &richloc, DK_PEDWARN); in pedwarn_c99()
60 diagnostic.option_index = opt; in pedwarn_c99()
61 warned = diagnostic_report_diagnostic (global_dc, &diagnostic); in pedwarn_c99()
77 diagnostic_info diagnostic; in pedwarn_c90() local
91 diagnostic_set_info (&diagnostic, gmsgid, &ap, &richloc, in pedwarn_c90()
94 diagnostic.option_index = opt; in pedwarn_c90()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
HDdiagnostic.c253 diagnostic_set_info_translated (diagnostic_info *diagnostic, const char *msg, in diagnostic_set_info_translated() argument
258 diagnostic->message.err_no = errno; in diagnostic_set_info_translated()
259 diagnostic->message.args_ptr = args; in diagnostic_set_info_translated()
260 diagnostic->message.format_spec = msg; in diagnostic_set_info_translated()
261 diagnostic->message.m_richloc = richloc; in diagnostic_set_info_translated()
262 diagnostic->richloc = richloc; in diagnostic_set_info_translated()
263 diagnostic->kind = kind; in diagnostic_set_info_translated()
264 diagnostic->option_index = 0; in diagnostic_set_info_translated()
270 diagnostic_set_info (diagnostic_info *diagnostic, const char *gmsgid, in diagnostic_set_info() argument
275 diagnostic_set_info_translated (diagnostic, _(gmsgid), args, richloc, kind); in diagnostic_set_info()
[all …]
HDtree-diagnostic.c37 diagnostic_info *diagnostic) in diagnostic_report_current_function() argument
39 diagnostic_report_current_module (context, diagnostic_location (diagnostic)); in diagnostic_report_current_function()
41 diagnostic); in diagnostic_report_current_function()
46 diagnostic_info *diagnostic) in default_tree_diagnostic_starter() argument
48 diagnostic_report_current_function (context, diagnostic); in default_tree_diagnostic_starter()
50 diagnostic)); in default_tree_diagnostic_starter()
101 const diagnostic_info *diagnostic, in maybe_unwind_expanded_macro_loc() argument
145 expand_location_to_spelling_point (diagnostic_location (diagnostic)).line; in maybe_unwind_expanded_macro_loc()
239 diagnostic_info *diagnostic) in virt_loc_aware_diagnostic_finalizer() argument
241 maybe_unwind_expanded_macro_loc (context, diagnostic, in virt_loc_aware_diagnostic_finalizer()
[all …]
HDdiagnostic.h325 diagnostic_location (const diagnostic_info * diagnostic, int which = 0)
327 return diagnostic->message.get_location (which);
333 diagnostic_num_locations (const diagnostic_info * diagnostic) in diagnostic_num_locations() argument
335 return diagnostic->message.m_richloc->get_num_locations (); in diagnostic_num_locations()
343 diagnostic_expand_location (const diagnostic_info * diagnostic, int which = 0)
345 return diagnostic->richloc->get_expanded_location (which);
HDsubstring-locations.c149 diagnostic_info diagnostic; in format_warning_n_va() local
163 diagnostic_set_info_translated (&diagnostic, text, ap, &richloc, in format_warning_n_va()
167 diagnostic_set_info (&diagnostic, singular_gmsgid, ap, &richloc, in format_warning_n_va()
169 diagnostic.option_index = opt; in format_warning_n_va()
170 bool warned = diagnostic_report_diagnostic (global_dc, &diagnostic); in format_warning_n_va()
HDdiagnostic.def20 assign this kind to an actual diagnostic, we only use this in
22 kind specified. I.e. they're uninitialized. Within the diagnostic
27 /* If a diagnostic is set to DK_IGNORED, it won't get reported at all.
28 This is used by the diagnostic machinery when it wants to disable a
29 diagnostic without disabling the option which causes it. */
32 /* The remainder are real diagnostic types. */
/dragonfly/sys/dev/drm/
HDkconfig.h32 #pragma GCC diagnostic ignored "-Wcast-qual"
33 #pragma GCC diagnostic ignored "-Wpointer-arith"
34 #pragma GCC diagnostic ignored "-Wunused-parameter"
35 #pragma GCC diagnostic ignored "-Wdiscarded-qualifiers"
36 #pragma GCC diagnostic ignored "-Wint-conversion"
/dragonfly/gnu/usr.bin/cc80/support-libs/libcommon/
HDMakefile7 OBJS-libcommon= diagnostic.o diagnostic-color.o diagnostic-show-locus.o \
12 OBJS-libcommon+= selftest.o selftest-diagnostic.o
/dragonfly/lib/libm/src/amd64/
HDsignbitl.c22 #pragma GCC diagnostic push
23 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
34 #pragma GCC diagnostic pop
HDisfinitel.c22 #pragma GCC diagnostic push
23 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
34 #pragma GCC diagnostic pop
HDisnormall.c22 #pragma GCC diagnostic push
23 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
34 #pragma GCC diagnostic pop
HDisnanl.c22 #pragma GCC diagnostic push
23 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
37 #pragma GCC diagnostic pop
/dragonfly/lib/libm/src/
HDsignbit.c23 #pragma GCC diagnostic push
24 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
44 #pragma GCC diagnostic pop
HDisfinite.c23 #pragma GCC diagnostic push
24 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
44 #pragma GCC diagnostic pop
HDisnormal.c23 #pragma GCC diagnostic push
24 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
44 #pragma GCC diagnostic pop
HDisnanf.c23 #pragma GCC diagnostic push
24 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
44 #pragma GCC diagnostic pop
HDfrexp.c36 #pragma GCC diagnostic push
37 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
73 #pragma GCC diagnostic pop
HDimprecise.c55 #pragma GCC diagnostic push
56 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
70 #pragma GCC diagnostic pop
/dragonfly/usr.bin/localedef/
HDnumeric.c78 #pragma GCC diagnostic push
79 #pragma GCC diagnostic ignored "-Wcast-qual"
105 #pragma GCC diagnostic pop
/dragonfly/contrib/gcc-8.0/libstdc++-v3/src/c++11/
Dsso_string.cc40 #pragma GCC diagnostic push
41 #pragma GCC diagnostic ignored "-Wabi-tag"
68 #pragma GCC diagnostic pop

123456