]> andersk Git - splint.git/blame - src/Headers/lclTypeSpecNode.h
Created html faq file to replace the faq.txt
[splint.git] / src / Headers / lclTypeSpecNode.h
CommitLineData
885824d3 1/*
c0de361f 2** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
885824d3 3** See ../LICENSE for license information.
4**
5*/
6
7typedef enum
8{
9 LTS_TYPE, LTS_STRUCTUNION,
10 LTS_ENUM, LTS_CONJ
11} lclTypeSpecKind;
12
13typedef lclTypeSpecNode lcltsp;
14
28bf4b0b 15typedef struct
885824d3 16{
17 lcltsp a;
18 lcltsp b;
19} *lclconj;
20
28bf4b0b 21struct s_lclTypeSpecNode {
885824d3 22 lclTypeSpecKind kind;
23 qualList quals;
24 union {
25 /*@null@*/ CTypesNode type;
26 /*@null@*/ strOrUnionNode structorunion;
27 /*@null@*/ enumSpecNode enumspec;
28 lclconj conj;
29 } content;
f9264521 30 pointers pointers;
885824d3 31} ;
32
33/*@constant null lclTypeSpecNode lclTypeSpecNode_undefined; @*/
34# define lclTypeSpecNode_undefined ((lclTypeSpecNode) 0)
35
0e41eb0e 36extern /*@falsewhennull@*/ bool lclTypeSpecNode_isDefined (lclTypeSpecNode p_x) /*@*/ ;
885824d3 37# define lclTypeSpecNode_isDefined(x) ((x) != lclTypeSpecNode_undefined)
38
39extern /*@null@*/ /*@only@*/ lclTypeSpecNode
40 lclTypeSpecNode_copy (/*@null@*/ lclTypeSpecNode p_n) /*@*/ ;
41
42extern /*@only@*/ cstring
43 lclTypeSpecNode_unparse (/*@null@*/ lclTypeSpecNode p_n) /*@*/ ;
44
45extern /*@only@*/ cstring
46 lclTypeSpecNode_unparseComments (/*@null@*/ lclTypeSpecNode p_typespec) /*@*/ ;
47
48
49
50
51
52
This page took 0.070903 seconds and 5 git commands to generate.