aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r--gcc/diagnostic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h
index 36f4a1c..5cde881 100644
--- a/gcc/diagnostic.h
+++ b/gcc/diagnostic.h
@@ -72,10 +72,10 @@ enum diagnostics_output_format
/* JSON-based output, to a file. */
DIAGNOSTICS_OUTPUT_FORMAT_JSON_FILE,
- /* SARIF-based output, to stderr. */
+ /* SARIF-based output, as JSON to stderr. */
DIAGNOSTICS_OUTPUT_FORMAT_SARIF_STDERR,
- /* SARIF-based output, to a file. */
+ /* SARIF-based output, to a JSON file. */
DIAGNOSTICS_OUTPUT_FORMAT_SARIF_FILE
};