read.ln revision 1.3 1 # $NetBSD: read.ln,v 1.3 2021/08/30 19:07:57 rillig Exp $
2 #
3 # Cover each path of reading declarations, definitions and usages.
4
5 0 s read.c
6 S read.c
7
8 # Cover all tspec_t constants, in declaration order.
9 #
10 # The line numbers correspond to the constant values of tspec_t,
11 # with the 128-bit types included.
12 #
13 # NOTSPEC cannot occur in lint1 output.
14 # SIGNED cannot occur in lint1 output.
15 # UNSIGN cannot occur in lint1 output.
16 103 d 0.103 e 4f103 F0 B # BOOL _Bool f103(void);
17 104 d 0.104 e 4f104 F0 C # CHAR char f104(void);
18 105 d 0.105 e 4f105 F0 sC # SCHAR signed char f105(void);
19 106 d 0.106 e 4f106 F0 uC # UCHAR unsigned char f106(void);
20 107 d 0.107 e 4f107 F0 S # SHORT short f107(void);
21 108 d 0.108 e 4f108 F0 uS # USHORT unsigned short f108(void);
22 109 d 0.109 e 4f109 F0 I # INT int f109(void);
23 110 d 0.110 e 4f110 F0 uI # UINT unsigned int f110(void);
24 111 d 0.111 e 4f111 F0 L # LONG long f111(void);
25 112 d 0.112 e 4f112 F0 uL # ULONG unsigned long f112(void);
26 113 d 0.113 e 4f113 F0 Q # QUAD long long f113(void);
27 114 d 0.114 e 4f114 F0 uQ # UQUAD unsigned long long f114(void);
28 # INT128 works only in 64-bit mode, see read_lp64.
29 # UINT128 works only in 64-bit mode, see read_lp64.
30 117 d 0.117 e 4f117 F0 sD # FLOAT float f117(void);
31 118 d 0.118 e 4f118 F0 D # DOUBLE double f118(void);
32 119 d 0.119 e 4f119 F0 lD # LDOUBLE long double f119(void);
33 120 d 0.120 e 4f120 F0 V # VOID void f120(void);
34 121 d 0.121 e 4f121 F0 sT16tag121 # STRUCT struct tag121 f121(void);
35 122 d 0.122 e 4f122 F0 uT16tag122 # UNION union tag122 f122(void);
36 123 d 0.123 e 4f123 F0 eT16tag123 # ENUM enum tag123 f123(void);
37 124 d 0.124 e 4f124 F0 PV # PTR void * f124(void);
38 125 d 0.125 e 4a125 A7D # ARRAY extern double a125[7];
39 126 d 0.126 e 4f126 F0 PF1DV # FUNC void (*f126(void))(double);
40 # COMPLEX cannot occur in lint1 output.
41 127 d 0.127 e 4f127 F0 sX # FCOMPLEX float _Complex f127(void);
42 128 d 0.128 e 4f128 F0 X # COMPLEX double _Complex f128(void);
43 129 d 0.129 e 4f129 F0 lX # LCOMPLEX long double _Complex f129(void);
44
45 # Tagged types (struct, union, enum) can have tags or typedefs or be
46 # anonymous, but anonymous types are not usually used in external
47 # declarations.
48 #
49 # struct s_tag f201(void);
50 201 d 0.201 e 4f201 F0 sT15s_tag
51 # typedef struct {} s_def;
52 # s_def f202(void);
53 202 d 0.202 e 4f202 F0 sT25s_def
54 # struct { int member; } f203(void);
55 203 d 0.203 e 4f203 F0 sT3203.0.0
56
57 # Type qualifiers
58 #
59 # void f301(const int *);
60 301 d 0.301 e 4f301 F1 PcI V
61 # void f302(volatile int *);
62 302 d 0.302 e 4f302 F1 PvI V
63 # void f302(const volatile int *);
64 303 d 0.303 e 4f303 F1 PcvI V
65
66 # The "cleanup" in read.c 1.58 produced "not a number: v0...".
67 # The corresponding tests for parsing vararg, printflike and scanflike are
68 # still missing, that's why it got through unnoticed.
69 400 d 0.439 v0 d 13bpf_set_error F3 PsT115_compiler_state PcC E V
70