summaryrefslogtreecommitdiff
path: root/gcc/c.opt
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-07 17:48:52 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-07 17:48:52 +0000
commitfc8ee10c73dbe94c382fbbcb056d0704a7e97351 (patch)
treeaaa87a15f5942f4f114e17e7f79c23571f506e9b /gcc/c.opt
parent449a120bd17a77cf35e15443328424bfbbb28197 (diff)
downloadgcc-fc8ee10c73dbe94c382fbbcb056d0704a7e97351.tar.gz
PR c++/25185
* c-common.h, c-common.c: Add flag_pretty_templates. * c-opts.c (c_common_handle_option): Set it. * c.opt: Add -fno-pretty-templates. * doc/invoke.texi (C++ Dialect Options): Likewise. * error.c (dump_function_decl): Don't pretty-print templates if -fno-pretty-templates. (count_non_default_template_args): Print all args if -fno-pretty-templates. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145697 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c.opt')
-rw-r--r--gcc/c.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c.opt b/gcc/c.opt
index 40681bdc377..3f1cd1301a0 100644
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -716,6 +716,10 @@ fpreprocessed
C ObjC C++ ObjC++
Treat the input file as already preprocessed
+fpretty-templates
+C++ ObjC++
+-fno-pretty-templates Do not pretty-print template specializations as the template signature followed by the arguments
+
freplace-objc-classes
ObjC ObjC++
Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime