summaryrefslogtreecommitdiff
path: root/gcc/c.opt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c.opt')
-rw-r--r--gcc/c.opt20
1 files changed, 16 insertions, 4 deletions
diff --git a/gcc/c.opt b/gcc/c.opt
index 6cd9295dafc..f277512efbc 100644
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -29,10 +29,10 @@
; RejectNegative to the second field.
; The second field is a space-separated list of which parts of the
-; compiler recognize the switch. Current valid entries are "C",
-; "ObjC", "C++" and "ObjC++". If the switch takes an argument, then
-; you should also specify "Joined" and/or "Separate" to indicate where
-; the argument can appear.
+; compiler recognize the switch, as declared by "Language" entries.
+; If the switch takes an argument, then you should also specify
+; "Joined" and/or "Separate" to indicate where the argument can
+; appear.
; Comments can appear on their own line anwhere in the file, preceded
; by a semicolon. Whitespace is permitted before the semicolon.
@@ -43,6 +43,18 @@
; Please try to keep this file in ASCII collating order.
+Language
+C
+
+Language
+ObjC
+
+Language
+C++
+
+Language
+ObjC++
+
-help
C ObjC C++ ObjC++