forked from danmar/cppcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cppcheck-errors.rng
88 lines (88 loc) · 2.87 KB
/
cppcheck-errors.rng
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" ns="" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<element name="results">
<attribute name="version">
<choice>
<value type="string">2</value>
</choice>
</attribute>
<element name="cppcheck">
<attribute name="version">
<data type="string">
<param name="pattern">[1-9]\.[0-9]+</param>
</data>
</attribute>
</element>
<element name="errors">
<zeroOrMore>
<element name="error">
<optional>
<attribute name="cwe">
<data type="integer">
<param name="minExclusive">0</param>
</data>
</attribute>
</optional>
<attribute name="id">
<data type="NCName"/>
</attribute>
<optional>
<attribute name="inconclusive">
<data type="boolean"/>
</attribute>
</optional>
<attribute name="msg">
<data type="string"/>
</attribute>
<attribute name="severity">
<choice>
<value type="string">error</value>
<value type="string">information</value>
<value type="string">performance</value>
<value type="string">portability</value>
<value type="string">style</value>
<value type="string">warning</value>
</choice>
</attribute>
<attribute name="verbose">
<data type="string"/>
</attribute>
<zeroOrMore>
<element name="location">
<optional>
<attribute name="file0">
<data type="string"/>
</attribute>
</optional>
<attribute name="file">
<data type="string"/>
</attribute>
<attribute name="line">
<data type="integer">
<param name="minInclusive">0</param>
</data>
</attribute>
<attribute name="column">
<data type="integer">
<param name="minInclusive">0</param>
</data>
</attribute>
<optional>
<attribute name="info">
<data type="string"/>
</attribute>
</optional>
</element>
</zeroOrMore>
<zeroOrMore>
<element name="symbol">
<data type="string"/>
</element>
</zeroOrMore>
</element>
</zeroOrMore>
</element>
</element>
</start>
</grammar>