diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-17 05:33:18 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-17 05:33:18 +0000 |
commit | 976650bcac6692bdc5d66b4254d64ca7fab9b8a7 (patch) | |
tree | fec195bdc2e5316cb4e977a34615e03efeb33383 /gcc/c.opt | |
parent | 878870b49e114a18ebe3c78d1fef3a632dfe49b9 (diff) | |
download | gcc-976650bcac6692bdc5d66b4254d64ca7fab9b8a7.tar.gz |
* c.opt: Document Uncodumented; use it. Document ObjC options.
* opts.c (print_filtered_help): Skip undocumented switches.
* opts.h (CL_UNDOCUMENTED): New.
* opts.sh: Handle Undocumented.
* toplev.c (documented_lang_options): Prevent its becoming empty.
f:
* lang-options.h: Remove.
* lang.opt: Document most options.
objc:
* lang-options.h: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69494 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/gcc/c.opt b/gcc/c.opt index 097775823b5..042f4cfc86d 100644 --- a/gcc/c.opt +++ b/gcc/c.opt @@ -44,7 +44,11 @@ ; output. However, if the help text contains a tab character, the ; text to the left of the tab is output instead of the switch, and the ; text to its right forms the help. This is useful for elaborating on -; what type of argument a switch takes, for example. +; what type of argument a switch takes, for example. If the second +; field contains "Undocumented" then nothing is output with --help. +; Only do this with good reason like the switch being internal between +; the driver and the front end - it is not an excuse to leave a switch +; undocumented. ; Comments can appear on their own line anwhere in the file, preceded ; by a semicolon. Whitespace is permitted before the semicolon. @@ -87,7 +91,7 @@ C ObjC C++ ObjC++ Joined Separate -D<macro>[=<val>] Define a <macro> with <val> as its value. If just <macro> is given, <val> is taken to be 1 E -C ObjC C++ ObjC++ +C ObjC C++ ObjC++ Undocumented H C ObjC C++ ObjC++ @@ -318,6 +322,7 @@ Warn about function pointer arithmetic Wprotocol ObjC ObjC++ +Warn if inherited methods are unimplemented Wredundant-decls C ObjC C++ ObjC++ @@ -333,6 +338,7 @@ Warn whenever a function's return type defaults to \"int\" (C), or about inconsi Wselector ObjC ObjC++ +Warn if a selector has multiple methods Wsequence-point C ObjC @@ -436,6 +442,7 @@ Make string literals \"const char[]\" not \"char[]\" fconstant-string-class= ObjC ObjC++ Joined +-fconst-string-class=<name> Use class <name> for constant strings fdefault-inline C++ ObjC++ @@ -486,6 +493,7 @@ Recognize GNU-defined keywords fgnu-runtime ObjC ObjC++ +Generate code for GNU runtime environment fguiding-decls C++ ObjC++ @@ -531,6 +539,7 @@ C++ ObjC++ fnext-runtime ObjC ObjC++ +Generate code for NeXT runtime environment fnonansi-builtins C++ ObjC++ @@ -643,6 +652,7 @@ Emit cross referencing information gen-decls ObjC ObjC++ +Dump declarations to a .decl file idirafter C ObjC C++ ObjC++ Joined Separate @@ -677,12 +687,10 @@ C ObjC C++ ObjC++ Joined Separate -iwithprefixbefore <dir> Add <dir> to the end of the main include path lang-asm -C -For internal use only +C Undocumented lang-objc -C ObjC C++ ObjC++ -For internal use only +C ObjC C++ ObjC++ Undocumented nostdinc C ObjC C++ ObjC++ @@ -706,6 +714,7 @@ C ObjC C++ ObjC++ print-objc-runtime-info ObjC ObjC++ +Generate C header of platform-specific features remap C ObjC C++ ObjC++ |