Clang] Fix expansion of response files in -Wp after integrated-cc1 change
[llvm-project.git] / mlir / utils / textmate / mlir.json
blob8399a972d81b62a1d491bb183640c41419b346d4
2   "fileTypes":[
3     "mlir"
4   ],
5   "repository":{
6     "attribute":{
7       "match":"\\W[\\w_][\\w\\d_.$]*\\s*=",
8       "name":"meta.attribute.mlir"
9     },
10     "branch_target":{
11       "match":"\\^bb[\\w\\d_$\\.-]+",
12       "name":"entity.name.label.mlir"
13     },
14     "comment":{
15       "match":"\/\/.*$",
16       "name":"comment.line.double-slash.mlir"
17     },
18     "identifier":{
19       "match":"[\\%#@][\\w_][\\w\\d_.$]*",
20       "captures":{
21         "0":{
22           "name":"variable.mlir"
23         }
24       },
25       "name":"meta.identifier.mlir"
26     },
27     "integer":{
28       "match":"[\\Wx]([0-9]+)",
29       "captures":{
30         "1":{
31           "name":"constant.numeric.mlir"
32         }
33       },
34       "name":"meta.identifier.mlir"
35     },
36     "string":{
37       "end":"\"",
38       "begin":"\"",
39       "beginCaptures":{
40         "0":{
41           "name":"punctuation.definition.string.begin.mlir"
42         }
43       },
44       "patterns":[
45         {
46           "match":"\\\\[nt\"]",
47           "name":"constant.character.escape.mlir"
48         },
49         {
50           "match":"\\\\.",
51           "name":"invalid.illegal.mlir"
52         }
53       ],
54       "endCaptures":{
55         "0":{
56           "name":"punctuation.definition.string.end.mlir"
57         }
58       },
59       "name":"string.quoted.double.mlir"
60     },
61     "types":{
62       "match":"[\\Wx](index|i[1-9][0-9]*|f16|bf16|f32|f64|memref|tensor|vector)\\b",
63       "captures":{
64         "1":{
65           "name":"storage.type.mlir"
66         }
67       },
68       "name":"meta.types.simple.mlir"
69     }
70   },
71   "patterns":[
72     {
73       "include":"#comment"
74     },
75     {
76       "include":"#string"
77     },
78     {
79       "match":"\\b(func)\\b\\s*(@[\\w_][\\w\\d_.$]*)",
80       "captures":{
81         "1":{
82           "name":"keyword.function.mlir"
83         },
84         "2":{
85           "name":"entity.name.function.mlir"
86         }
87       },
88       "name":"support.function.mlir"
89     },
90     {
91       "match":"\\b(attributes|br|call|constant|loc|return)\\b",
92       "name":"keyword.module.mlir"
93     },
94     {
95       "include":"#identifier"
96     },
97     {
98       "include":"#branch_target"
99     },
100     {
101       "include":"#attribute"
102     },
103     {
104       "include":"#types"
105     },
106     {
107       "include":"#integer"
108     }
109   ],
110   "name":"MLIR",
111   "scopeName":"source.mlir"