Home
last modified time | relevance | path

Searched refs:decl2 (Results 1 – 25 of 44) sorted by relevance

12

/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/warn/
H A DWshadow-1.C22 int decl2; // { dg-warning "shadowed declaration" } variable
36 int decl2; // { dg-warning "shadows a global decl" } in foo2() local
/openbsd-src/gnu/gcc/gcc/cp/
H A DChangeLog-200135 * decl2.c (lang_f_options): Const-ify.
76 * call.c, decl2.c, init.c: Use "built-in" and "bit-field"
83 * call.c, class.c, cp-tree.h, cvt.c, decl.c, decl2.c, error.c,
92 * decl2.c (finish_file): Remove back_end_hook.
97 cp-tree.h, decl.c, decl2.c, except.c, operators.def, optimize.c,
208 * decl2.c (grokfield): Likewise.
317 * decl2.c (merge_functions): Handle extern "C" functions
382 * decl2.c (c_language): Move to c-common.c.
624 * ChangeLog.1, ChangeLog.2, ChangeLog, class.c, decl2.c, search.c,
629 * decl2.c (validate_nonmember_using_decl): Handle NAMESPACE_DECL.
[all …]
H A DChangeLog-199689 * decl2.c (grok_x_components): Remove synthesized methods from
98 * decl2.c (finish_file): Emit DWARF debugging info for static data
179 * decl2.c (finish_vtable_vardecl): Likewise.
295 * decl2.c (build_expr_from_tree): Dereference ref vars.
304 * decl2.c (finish_file): Don't call instantiate_decl on synthesized
314 * decl2.c (finish_file): Don't emit debug info.
354 * decl2.c (lang_decode_option): Add -W{no-,}pmf-conversions.
356 * decl2.c (warn_pmf2ptr): Define.
391 * decl2.c (copy_assignment_arg_p): Don't buy the farm if
459 * decl2.c (finish_file): Emit DWARF debugging info for static data
[all …]
H A DChangeLog-199899 * decl2.c (reparse_absdcl_as_expr): Recursively call ourselves,
161 * decl2.c (do_local_using_decl): Use push_local_binding.
233 * decl2.c (parse_options,cpp_initialized): Removed.
272 * cp/decl2.c: s/data/opts/ when initializing cpp_reader
282 * decl2.c (ambiguous_decl): Don't print old value if it's
290 * decl2.c: Likewise.
301 * decl2.c (coerce_new_type): Use same_type_p.
312 * decl2.c (grokfield): Use it.
344 * decl2.c (validate_nonmember_using_decl): Complain about using
467 * decl2.c (grok_x_components): Call it.
[all …]
H A DChangeLog-199983 * decl2.c (grok_function_init): Likewise.
146 * decl2.c (import_export_class): Likewise.
186 * decl2.c (flag_use_cxa_atexit): New variable.
241 * decl2.c (qualified_lookup_using_namespace): Use tree_cons
291 * decl2.c (ambiguous_decl): Fix to match comment.
294 * decl2.c (import_export_class): Don't ignore dllimport.
445 * decl2.c (pending_statics_used): Make it a macro.
493 * decl2.c (finish_file): Call expand_body for inline functions
503 (spew.o, lex.o, decl.o, decl2.o, typeck2.o, typeck.o): Adjust.
534 * decl2.c: Don't include splay-tree.h.
[all …]
H A DChangeLog-200252 * decl2.c (finish_file): Mark undefined inlines as extern.
138 * decl2.c (build_expr_from_tree): Adjust call to do_identifier.
162 * decl.c, decl2.c, decl.h: GCC, not GNU CC. This is the C++ front
190 * decl2.c (grok_method_quals, warn_if_unknown_interface,
260 * decl2.c (grok_array_decl): Use boolean constant.
357 * decl2.c (constructor_name_full): Simplify.
436 * decl2.c (mark_used): Defer inline functions.
452 * decl2.c (build_expr_from_tree, CALL_EXPR): Use
460 * decl2.c (check_classfn): Use lookup_fnfield_1. List all
494 * decl2.c (grokoptypename): Add SCOPE parameter. tsubst the type
[all …]
H A DChangeLog-199524 * decl2.c (finish_file): Also prune uninteresting functions in the
34 * decl2.c (finish_file): Do all the vtable/synthesis stuff before
39 * cp-tree.h, decl2.c (flag_weak): New flag to control the use of
44 * decl2.c, pt.c: s/SUPPORTS_WEAK/flag_weak/.
79 * decl2.c (constructor_name_full): Refer to CLASSTYPE_METHOD_VEC
116 * decl2.c (build_cleanup): New routine, taken from finish_file.
236 * decl2.c (finish_file): Likewise.
276 * decl2.c (mark_vtable_entries): Check DECL_LANG_SPECIFIC on fn
281 * decl2.c (mark_used): New function for hooking into setting of
295 * decl2.c (grokclassfn): Tweak __in_chrg attributes.
[all …]
H A DChangeLog-199721 * decl2.c (lang_decode_option): Add support for -Wunknown-pragmas.
41 * decl2.c (finish_file): Remove call to register_exception_table.
93 * decl2.c (comdat_linkage): Also set DECL_COMDAT.
100 * decl2.c (finish_file): Lose handling of templates in pending_statics.
104 * decl2.c (finish_file): Lose call to expand_builtin_throw.
180 * decl2.c (build_expr_from_tree): Revert last change.
182 * decl2.c (build_expr_from_tree): Expand the name for a method call.
268 * decl2.c (import_export_decl): Just set DECL_COMDAT on VAR_DECLs.
277 * decl2.c (import_export_vtable): If we support one_only but not
303 * decl2.c (delete_sanity): resolve_offset_ref.
[all …]
H A DChangeLog-200362 * decl2.c (warn_if_unknown_interface): Likewise.
73 * decl2.c (warn_if_unknown_interface): Likewise.
124 * decl2.c: Likewise.
141 * decl2.c: Likewise.
275 * decl2.c (grokfield): Robustify.
305 * decl2.c (check_java_method): Skip artificial params.
574 * decl2.c (check_classfn): Add template_header_p parameter.
820 * decl2.c: Likewise.
874 * decl2.c (cxx_callgraph_analyze_expr): Deal with baselink.
931 * decl2.c (is_ancestor): Move to name-lookup.c
[all …]
H A DChangeLog-2000182 * decl2.c (lang_decode_option): Handle -Wformat-security.
243 * decl2.c (arg_assoc_type): Handle VECTOR_TYPE like COMPLEX_TYPE.
274 * decl2.c (warn_format): Remove definition.
537 * decl2.c (flag_dump_translation_unit): Remove.
561 * decl2.c (coerce_new_type): Use c_size_type_node. Preserve
582 * decl2.c (do_nonmember_using_decl): Allow `extern "C"'
637 * decl2.c (comdat_linkage): Extend comment.
692 * decl2.c (arg_assoc_type): Handle VECTOR_TYPE.
769 * decl2.c (flag_no_builtin): Remove.
783 * decl2.c (back_end_hook): Remove definition.
[all …]
H A DChangeLog-199452 * decl2.c (grokfield): Likewise.
60 * decl2.c (check_classfn): Ignore this parameter on static functions
70 * decl2.c (check_classfn): Don't use decls_match yet, as it modifies
83 * decl2.c (check_classfn): Use decls_match to check if this has
103 * decl2.c (setup_vtbl_ptr): Likewise.
116 * decl2.c (reparse_absdcl_as_casts): Add third argument to
185 * decl2.c (grokfield): Make asm specs on static member functions
204 * decl2.c (current_namespace_id): New routine to transform a simple
207 * decl2.c (get_namespace_id): Find the name of the current
218 * decl2.c (push_namespace): Dummy function.
[all …]
H A DChangeLog74 * decl2.c (build_anon_union_vars): Set DECL_ANON_UNION_VAR_P.
411 * decl2.c (check_member_template): Move check for member
505 * decl2.c (grokbitfield): Detect invalid non-integral
648 * decl2.c (grokfield): Don't handle access declarations here.
928 * decl2.c (mark_used): Mark the main function used when one of its
1013 * decl2.c (check_classfn): Push to class scope before looking for
1088 * decl2.c (determine_visibility): Likewise.
1241 * decl2.c (check_classfn): Remove early return.
1309 * decl2.c (determine_visibility): Don't propagate visibility from
1316 * decl2.c (determine_visibility_from_class): Don't use hidden
[all …]
H A DChangeLog-20048 * decl2.c (get_guard): Likewise.
18 * decl2.c (grokfield): Likewise, and adjust call to
195 * decl2.c (grokfield): Likewise.
351 * decl2.c (delete_sanity): Likewise.
523 * Make-lang.in (cp/decl2.o): Update dependencies.
524 * decl2.c (finish_file): Call maybe_apply_pending_pragma_weaks.
685 * decl2.c (build_artificial_parm): Make static.
752 * decl2.c (import_export_decl): Fix typo in comment.
785 * call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c,
861 * decl2.c (check_classfn): Likewise.
[all …]
H A DChangeLog.tree-ssa140 * decl2.c (cxx_callgraph_analyze_expr): Kill.
146 * decl2.c (cxx_callgraph_analyze_expr): Kill.
164 * cp-decl2.c (finish_file): Call mudflap after callgraph-based
249 * class.c, decl.c, decl2.c, error.c, init.c, lex.c, method.c,
382 * decl2.c (finish_file): Adjust timing of mudflap_finish_file call
415 * decl2.c, error.c, init.c, lex.c, method.c: Likewise.
451 * decl2.c (finish_file): Divert to mudflap if appropriate.
H A DMake-lang.in82 cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o \
239 cp/decl2.o: cp/decl2.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) cp/decl.h $(EXPR_H) \
240 output.h except.h toplev.h $(RTL_H) $(C_COMMON_H) gt-cp-decl2.h $(CGRAPH_H) \
H A Dconfig-lang.in37 …srcdir)/cp/decl.h \$(srcdir)/cp/call.c \$(srcdir)/cp/decl.c \$(srcdir)/cp/decl2.c \$(srcdir)/cp/pt…
H A DChangeLog-199365 * cp-decl2.c (explicit_warn_return_type): Deleted variable.
199 * cp-decl2.c (flag_huge_objects, lang_f_options): Likewise.
246 * cp-decl2.c (lang_decode_option): Support -falt-external-templates.
372 * cp-decl2.c (lang_decode_option): Make "-Wall" include warn_format.
413 * cp-decl2.c: Default to flag_ansi_overloading.
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A DChangeLog.283 * decl2.c (grok_function_init): Likewise.
146 * decl2.c (import_export_class): Likewise.
186 * decl2.c (flag_use_cxa_atexit): New variable.
241 * decl2.c (qualified_lookup_using_namespace): Use tree_cons
291 * decl2.c (ambiguous_decl): Fix to match comment.
294 * decl2.c (import_export_class): Don't ignore dllimport.
445 * decl2.c (pending_statics_used): Make it a macro.
493 * decl2.c (finish_file): Call expand_body for inline functions
503 (spew.o, lex.o, decl.o, decl2.o, typeck2.o, typeck.o): Adjust.
534 * decl2.c: Don't include splay-tree.h.
[all …]
H A DChangeLog94 * decl2.c (mark_used): Don't segfault if cfun != NULL but
156 * decl2.c (maybe_emit_vtables): Abort if runtime init needed.
571 * decl2.c (add_function): Do not complain about seeing the same
755 * decl2.c (handle_class_head_apparent_template): New function.
782 * decl2.c (grokfield): Create TEMPLATE_DECLs for methods in local
791 * decl2.c (generate_ctor_or_dtor_function): Tolerate a
804 * decl2.c (grokfield): Do not build NOP_EXPRs around the
931 * decl2.c (get_guard): Use pushdecl_top_level_and_finish.
1002 * decl2.c (handle_class_head): Remove implicitness in typename
1150 * decl2.c (comdat_linkage): Don't externalize explicit
[all …]
H A DChangeLog.1261 * decl2.c (grok_method_quals): Likewise.
264 * decl2.c (grokclassfn): After changing the type, call
311 * decl2.c (grokfield): New arg ATTRLIST, passed into grokdeclarator.
356 * decl2.c (flag_new_for_scope): Add a new mode that follows ANSI
373 * decl2.c (import_export_inline): Class interface hackery does not
409 * decl2.c (finish_file): Pass NULL_TREE as fourth arg to
430 * decl2.c (mark_vtable_entries): Likewise.
527 * decl2.c (finish_file): Call expand_builtin_throw.
601 * decl2.c (finish_anon_union): And here.
697 * decl2.c (check_classfn): Ignore cname argument, and return the
[all …]
H A DMake-lang.in86 cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parse.o cp/ptree.o cp/rtti.o \
117 gtype-cp.h gt-cp-call.h gt-cp-decl.h gt-cp-decl2.h : s-gtype; @true
241 cp/decl2.o: cp/decl2.c $(CXX_TREE_H) flags.h cp/lex.h cp/decl.h $(EXPR_H) \
242 output.h except.h toplev.h $(GGC_H) $(RTL_H) c-common.h gt-cp-decl2.h \
H A Dconfig-lang.in37 …(srcdir)/cp/lex.h \$(srcdir)/cp/call.c \$(srcdir)/cp/decl.c \$(srcdir)/cp/decl2.c \$(srcdir)/cp/pa…
/openbsd-src/gnu/usr.bin/cc/cc1plus/
H A DMakefile14 decl.c decl2.c error.c except.c expr.c dump.c friend.c init.c lex.c \
/openbsd-src/gnu/gcc/gcc/objcp/
H A Dconfig-lang.in44 …srcdir)/cp/decl.h \$(srcdir)/cp/call.c \$(srcdir)/cp/decl.c \$(srcdir)/cp/decl2.c \$(srcdir)/cp/pt…
/openbsd-src/gnu/usr.bin/gcc/gcc/po/
H A Dgcc.pot13891 #: cp/call.c:5722 cp/decl2.c:4158
14036 #: cp/class.c:2765 cp/decl2.c:1331
14040 #: cp/class.c:2771 cp/decl2.c:1337
14044 #: cp/class.c:2774 cp/decl2.c:1339
14773 #: cp/decl.c:7744 cp/decl2.c:936
15021 #: cp/decl.c:9918 cp/decl2.c:785
15760 #: cp/decl2.c:153
15765 #: cp/decl2.c:192
15769 #: cp/decl2.c:198
15773 #: cp/decl2.c:365
[all …]

12