Module Name: src
Committed By: rillig
Date: Sat Jan 15 17:33:42 UTC 2022
Modified Files:
src/tests/usr.bin/xlint/lint2: emit.ln output_sorted.ln
Log Message:
tests/lint: fix comments
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint2/emit.ln
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/xlint/lint2/output_sorted.ln
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/usr.bin/xlint/lint2/emit.ln
diff -u src/tests/usr.bin/xlint/lint2/emit.ln:1.4 src/tests/usr.bin/xlint/lint2/emit.ln:1.5
--- src/tests/usr.bin/xlint/lint2/emit.ln:1.4 Sat Sep 4 18:34:17 2021
+++ src/tests/usr.bin/xlint/lint2/emit.ln Sat Jan 15 17:33:42 2022
@@ -1,4 +1,4 @@
-# $NetBSD: emit.ln,v 1.4 2021/09/04 18:34:17 rillig Exp $
+# $NetBSD: emit.ln,v 1.5 2022/01/15 17:33:42 rillig Exp $
#
# Test emitting a lint library file.
@@ -15,8 +15,8 @@ S emit.c
106 d 0.106 t 11defined_int I
# Referring to an anonymous tagged type forces the source file to be listed as
-# part of the library. If it weren't listed, the diagnostics from lint2 were
-# not able to refer to the location where this type has been defined.
+# part of the library. If it weren't listed, the diagnostics from lint2 would
+# not be able to refer to the location where this type has been defined.
97 d 0.97 e 21extern_anonymous_enum eT395.0.0
# Function declarations, as opposed to function definitions, are not part of a
Index: src/tests/usr.bin/xlint/lint2/output_sorted.ln
diff -u src/tests/usr.bin/xlint/lint2/output_sorted.ln:1.1 src/tests/usr.bin/xlint/lint2/output_sorted.ln:1.2
--- src/tests/usr.bin/xlint/lint2/output_sorted.ln:1.1 Sat Aug 28 19:45:18 2021
+++ src/tests/usr.bin/xlint/lint2/output_sorted.ln Sat Jan 15 17:33:42 2022
@@ -1,7 +1,8 @@
-# $NetBSD: output_sorted.ln,v 1.1 2021/08/28 19:45:18 rillig Exp $
+# $NetBSD: output_sorted.ln,v 1.2 2022/01/15 17:33:42 rillig Exp $
#
# Test whether the output is sorted by symbol name.
-# As of 2021-08-28, the output is sorted by hashcode, which looks random.
+# Before main2.c 1.21 from 2021-08-28, the output was sorted by hashcode,
+# which looked random. Since then, the output is sorted by symbol name.
0 s output_sorted.c
S output_sorted.c