Coverage Report

Created: 2018-09-19 20:53

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/clang-build/tools/clang/include/clang/AST/CommentHTMLTags.inc
Line
Count
Source (jump to first uncovered line)
1
/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2
|*                                                                            *|
3
|* HTML tag name matcher                                                      *|
4
|*                                                                            *|
5
|* Automatically generated file, do not edit!                                 *|
6
|*                                                                            *|
7
\*===----------------------------------------------------------------------===*/
8
9
0
bool isHTMLTagName(StringRef Name) {
10
0
  switch (Name.size()) {
11
0
  default: break;
12
0
  case 1:  // 6 strings to match.
13
0
    switch (Name[0]) {
14
0
    default: break;
15
0
    case 'a':  // 1 string to match.
16
0
      return true;  // "a"
17
0
    case 'b':  // 1 string to match.
18
0
      return true;  // "b"
19
0
    case 'i':  // 1 string to match.
20
0
      return true;  // "i"
21
0
    case 'p':  // 1 string to match.
22
0
      return true;  // "p"
23
0
    case 's':  // 1 string to match.
24
0
      return true;  // "s"
25
0
    case 'u':  // 1 string to match.
26
0
      return true;  // "u"
27
0
    }
28
0
    break;
29
0
  case 2:  // 19 strings to match.
30
0
    switch (Name[0]) {
31
0
    default: break;
32
0
    case 'b':  // 1 string to match.
33
0
      if (Name[1] != 'r')
34
0
        break;
35
0
      return true;   // "br"
36
0
    case 'd':  // 3 strings to match.
37
0
      switch (Name[1]) {
38
0
      default: break;
39
0
      case 'd':  // 1 string to match.
40
0
        return true;  // "dd"
41
0
      case 'l':  // 1 string to match.
42
0
        return true;  // "dl"
43
0
      case 't':  // 1 string to match.
44
0
        return true;  // "dt"
45
0
      }
46
0
      break;
47
0
    case 'e':  // 1 string to match.
48
0
      if (Name[1] != 'm')
49
0
        break;
50
0
      return true;   // "em"
51
0
    case 'h':  // 7 strings to match.
52
0
      switch (Name[1]) {
53
0
      default: break;
54
0
      case '1':  // 1 string to match.
55
0
        return true;  // "h1"
56
0
      case '2':  // 1 string to match.
57
0
        return true;  // "h2"
58
0
      case '3':  // 1 string to match.
59
0
        return true;  // "h3"
60
0
      case '4':  // 1 string to match.
61
0
        return true;  // "h4"
62
0
      case '5':  // 1 string to match.
63
0
        return true;  // "h5"
64
0
      case '6':  // 1 string to match.
65
0
        return true;  // "h6"
66
0
      case 'r':  // 1 string to match.
67
0
        return true;  // "hr"
68
0
      }
69
0
      break;
70
0
    case 'l':  // 1 string to match.
71
0
      if (Name[1] != 'i')
72
0
        break;
73
0
      return true;   // "li"
74
0
    case 'o':  // 1 string to match.
75
0
      if (Name[1] != 'l')
76
0
        break;
77
0
      return true;   // "ol"
78
0
    case 't':  // 4 strings to match.
79
0
      switch (Name[1]) {
80
0
      default: break;
81
0
      case 'd':  // 1 string to match.
82
0
        return true;  // "td"
83
0
      case 'h':  // 1 string to match.
84
0
        return true;  // "th"
85
0
      case 'r':  // 1 string to match.
86
0
        return true;  // "tr"
87
0
      case 't':  // 1 string to match.
88
0
        return true;  // "tt"
89
0
      }
90
0
      break;
91
0
    case 'u':  // 1 string to match.
92
0
      if (Name[1] != 'l')
93
0
        break;
94
0
      return true;  // "ul"
95
0
    }
96
0
    break;
97
0
  case 3:  // 9 strings to match.
98
0
    switch (Name[0]) {
99
0
    default: break;
100
0
    case 'b':  // 1 string to match.
101
0
      if (memcmp(Name.data()+1, "ig", 2) != 0)
102
0
        break;
103
0
      return true;   // "big"
104
0
    case 'c':  // 1 string to match.
105
0
      if (memcmp(Name.data()+1, "ol", 2) != 0)
106
0
        break;
107
0
      return true;   // "col"
108
0
    case 'd':  // 2 strings to match.
109
0
      switch (Name[1]) {
110
0
      default: break;
111
0
      case 'e':  // 1 string to match.
112
0
        if (Name[2] != 'l')
113
0
          break;
114
0
        return true;   // "del"
115
0
      case 'i':  // 1 string to match.
116
0
        if (Name[2] != 'v')
117
0
          break;
118
0
        return true;  // "div"
119
0
      }
120
0
      break;
121
0
    case 'i':  // 2 strings to match.
122
0
      switch (Name[1]) {
123
0
      default: break;
124
0
      case 'm':  // 1 string to match.
125
0
        if (Name[2] != 'g')
126
0
          break;
127
0
        return true;   // "img"
128
0
      case 'n':  // 1 string to match.
129
0
        if (Name[2] != 's')
130
0
          break;
131
0
        return true;  // "ins"
132
0
      }
133
0
      break;
134
0
    case 'p':  // 1 string to match.
135
0
      if (memcmp(Name.data()+1, "re", 2) != 0)
136
0
        break;
137
0
      return true;   // "pre"
138
0
    case 's':  // 2 strings to match.
139
0
      if (Name[1] != 'u')
140
0
        break;
141
0
      switch (Name[2]) {
142
0
      default: break;
143
0
      case 'b':  // 1 string to match.
144
0
        return true;  // "sub"
145
0
      case 'p':  // 1 string to match.
146
0
        return true;  // "sup"
147
0
      }
148
0
      break;
149
0
    }
150
0
    break;
151
0
  case 4:  // 3 strings to match.
152
0
    switch (Name[0]) {
153
0
    default: break;
154
0
    case 'c':  // 1 string to match.
155
0
      if (memcmp(Name.data()+1, "ode", 3) != 0)
156
0
        break;
157
0
      return true;   // "code"
158
0
    case 'f':  // 1 string to match.
159
0
      if (memcmp(Name.data()+1, "ont", 3) != 0)
160
0
        break;
161
0
      return true;   // "font"
162
0
    case 's':  // 1 string to match.
163
0
      if (memcmp(Name.data()+1, "pan", 3) != 0)
164
0
        break;
165
0
      return true;  // "span"
166
0
    }
167
0
    break;
168
0
  case 5:  // 5 strings to match.
169
0
    switch (Name[0]) {
170
0
    default: break;
171
0
    case 's':  // 1 string to match.
172
0
      if (memcmp(Name.data()+1, "mall", 4) != 0)
173
0
        break;
174
0
      return true;   // "small"
175
0
    case 't':  // 4 strings to match.
176
0
      switch (Name[1]) {
177
0
      default: break;
178
0
      case 'a':  // 1 string to match.
179
0
        if (memcmp(Name.data()+2, "ble", 3) != 0)
180
0
          break;
181
0
        return true;   // "table"
182
0
      case 'b':  // 1 string to match.
183
0
        if (memcmp(Name.data()+2, "ody", 3) != 0)
184
0
          break;
185
0
        return true;   // "tbody"
186
0
      case 'f':  // 1 string to match.
187
0
        if (memcmp(Name.data()+2, "oot", 3) != 0)
188
0
          break;
189
0
        return true;   // "tfoot"
190
0
      case 'h':  // 1 string to match.
191
0
        if (memcmp(Name.data()+2, "ead", 3) != 0)
192
0
          break;
193
0
        return true;  // "thead"
194
0
      }
195
0
      break;
196
0
    }
197
0
    break;
198
0
  case 6:  // 2 strings to match.
199
0
    if (memcmp(Name.data()+0, "str", 3) != 0)
200
0
      break;
201
0
    switch (Name[3]) {
202
0
    default: break;
203
0
    case 'i':  // 1 string to match.
204
0
      if (memcmp(Name.data()+4, "ke", 2) != 0)
205
0
        break;
206
0
      return true;   // "strike"
207
0
    case 'o':  // 1 string to match.
208
0
      if (memcmp(Name.data()+4, "ng", 2) != 0)
209
0
        break;
210
0
      return true;  // "strong"
211
0
    }
212
0
    break;
213
0
  case 7:  // 1 string to match.
214
0
    if (memcmp(Name.data()+0, "caption", 7) != 0)
215
0
      break;
216
0
    return true;   // "caption"
217
0
  case 8:  // 1 string to match.
218
0
    if (memcmp(Name.data()+0, "colgroup", 8) != 0)
219
0
      break;
220
0
    return true;   // "colgroup"
221
0
  case 10:   // 1 string to match.
222
0
    if (memcmp(Name.data()+0, "blockquote", 10) != 0)
223
0
      break;
224
0
    return true;  // "blockquote"
225
0
  }
226
0
  return false;
227
0
}
228