diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-08-03 01:37:47 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-08-03 01:37:47 +0000 |
commit | f71f87f9ebc585a5092659aadc45ab2f12921a2d (patch) | |
tree | e60e4eb12e074384984174f31e71d89fb02af12b /gcc/cppulp.c | |
parent | 246833ac171aa132fee598a93a86a819c6eaf4f4 (diff) | |
download | gcc-f71f87f9ebc585a5092659aadc45ab2f12921a2d.zip gcc-f71f87f9ebc585a5092659aadc45ab2f12921a2d.tar.gz gcc-f71f87f9ebc585a5092659aadc45ab2f12921a2d.tar.bz2 |
invoke.texi (-fdump-translation-unit): New option.
* invoke.texi (-fdump-translation-unit): New option.
* Make-lang.in (CXX_SRCS): Add dump.c.
* Makefile.in (CXX_OBJS): Add dump.o.
(dump.o): New target.
* cp-tree.h (DECL_CONV_FN_P): Document.
(DECL_OVERLOADED_OPERATOR_P): New function.
(TYPE_PTRMEM_CLASS_TYPE): New macro.
(TYPE_PTRMEM_POINTED_TO_TYPE): Likewise.
(PTRMEM_CST_CLASS): Use TYPE_PTRMEM_CLASS_TYPE.
(ASM_VOLATILE_P): New macro.
(STMT_LINENO): Likewise.
(cp_namespace_decls): New function.
(dump_node_to_file): New function.
* decl.c (cp_namespace_decls): New function.
(walk_namespaces_r): Use it.
(wrapup_globals_for_namespace): Likewise.
* decl2.c (flag_dump_translation_unit): New variable.
(lang_decode_option): Handle -fdump-translation-unit.
(finish_file): If flag_dump_translation_unit is set, dump the
translation unit.
* dump.c: New file.
* lang-options.h: Add -fdump-translation-unit.
* pt.c (tsubst_template_parms): Robustify.
(tsubst_decl): Use DECL_OVERLOADED_OPERATOR_P.
(tsubst_expr): Use STMT_LINENO.
* semantics.c (finish_asm_stmt): Eliminate duplicate code. Check
for invalid cv-qualifiers even while building templates.
From-SVN: r28434
Diffstat (limited to 'gcc/cppulp.c')
0 files changed, 0 insertions, 0 deletions