1[
2  {
3    "wd": "/tmp/stable",
4    "wrapper": {
5      "cmd": {
6        "path": "./x86_64-cros-linux-gnu-clang",
7        "args": [
8          "-mno-movbe",
9          "-pass-exit-codes",
10          "-Wclobbered",
11          "-Wno-psabi",
12          "-Wlogical-op",
13          "-Wmissing-parameter-type",
14          "-Wold-style-declaration",
15          "-Woverride-init",
16          "-Wunsafe-loop-optimizations",
17          "-Wstrict-aliasing=abc",
18          "-finline-limit=abc",
19          "main.cc"
20        ]
21      }
22    },
23    "cmds": [
24      {
25        "cmd": {
26          "path": "/usr/bin/ccache",
27          "args": [
28            "../../usr/bin/clang",
29            "--sysroot=/usr/x86_64-cros-linux-gnu",
30            "-Qunused-arguments",
31            "-Wno-tautological-constant-compare",
32            "-Wno-tautological-unsigned-enum-zero-compare",
33            "-Wno-unknown-warning-option",
34            "-Wno-section",
35            "-static-libgcc",
36            "-Wno-final-dtor-non-final-class",
37            "-Werror=poison-system-directories",
38            "-fexperimental-new-pass-manager",
39            "-Wno-compound-token-split-by-macro",
40            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
41            "-mno-movbe",
42            "-Wclobbered",
43            "-Wno-psabi",
44            "-Wlogical-op",
45            "-Wmissing-parameter-type",
46            "-Wold-style-declaration",
47            "-Woverride-init",
48            "-Wunsafe-loop-optimizations",
49            "main.cc",
50            "-Wno-implicit-int-float-conversion",
51            "-Wno-compound-token-split-by-space",
52            "-Wno-string-concatenation",
53            "-mno-movbe",
54            "-B../../bin",
55            "-target",
56            "x86_64-cros-linux-gnu"
57          ],
58          "env_updates": [
59            "CCACHE_DIR=/var/cache/distfiles/ccache",
60            "CCACHE_UMASK=002",
61            "CCACHE_CPP2=yes"
62          ]
63        }
64      }
65    ]
66  },
67  {
68    "wd": "/tmp/stable",
69    "wrapper": {
70      "cmd": {
71        "path": "./x86_64-cros-linux-gnu-clang",
72        "args": [
73          "-Wno-error=cpp",
74          "main.cc"
75        ]
76      }
77    },
78    "cmds": [
79      {
80        "cmd": {
81          "path": "/usr/bin/ccache",
82          "args": [
83            "../../usr/bin/clang",
84            "--sysroot=/usr/x86_64-cros-linux-gnu",
85            "-Qunused-arguments",
86            "-Wno-tautological-constant-compare",
87            "-Wno-tautological-unsigned-enum-zero-compare",
88            "-Wno-unknown-warning-option",
89            "-Wno-section",
90            "-static-libgcc",
91            "-Wno-final-dtor-non-final-class",
92            "-Werror=poison-system-directories",
93            "-fexperimental-new-pass-manager",
94            "-Wno-compound-token-split-by-macro",
95            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
96            "-Wno-#warnings",
97            "main.cc",
98            "-Wno-implicit-int-float-conversion",
99            "-Wno-compound-token-split-by-space",
100            "-Wno-string-concatenation",
101            "-mno-movbe",
102            "-B../../bin",
103            "-target",
104            "x86_64-cros-linux-gnu"
105          ],
106          "env_updates": [
107            "CCACHE_DIR=/var/cache/distfiles/ccache",
108            "CCACHE_UMASK=002",
109            "CCACHE_CPP2=yes"
110          ]
111        }
112      }
113    ]
114  },
115  {
116    "wd": "/tmp/stable",
117    "wrapper": {
118      "cmd": {
119        "path": "./x86_64-cros-linux-gnu-clang",
120        "args": [
121          "-Wno-error=maybe-uninitialized",
122          "main.cc"
123        ]
124      }
125    },
126    "cmds": [
127      {
128        "cmd": {
129          "path": "/usr/bin/ccache",
130          "args": [
131            "../../usr/bin/clang",
132            "--sysroot=/usr/x86_64-cros-linux-gnu",
133            "-Qunused-arguments",
134            "-Wno-tautological-constant-compare",
135            "-Wno-tautological-unsigned-enum-zero-compare",
136            "-Wno-unknown-warning-option",
137            "-Wno-section",
138            "-static-libgcc",
139            "-Wno-final-dtor-non-final-class",
140            "-Werror=poison-system-directories",
141            "-fexperimental-new-pass-manager",
142            "-Wno-compound-token-split-by-macro",
143            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
144            "-Wno-error=uninitialized",
145            "main.cc",
146            "-Wno-implicit-int-float-conversion",
147            "-Wno-compound-token-split-by-space",
148            "-Wno-string-concatenation",
149            "-mno-movbe",
150            "-B../../bin",
151            "-target",
152            "x86_64-cros-linux-gnu"
153          ],
154          "env_updates": [
155            "CCACHE_DIR=/var/cache/distfiles/ccache",
156            "CCACHE_UMASK=002",
157            "CCACHE_CPP2=yes"
158          ]
159        }
160      }
161    ]
162  },
163  {
164    "wd": "/tmp/stable",
165    "wrapper": {
166      "cmd": {
167        "path": "./x86_64-cros-linux-gnu-clang",
168        "args": [
169          "-Wno-error=unused-but-set-variable",
170          "main.cc"
171        ]
172      }
173    },
174    "cmds": [
175      {
176        "cmd": {
177          "path": "/usr/bin/ccache",
178          "args": [
179            "../../usr/bin/clang",
180            "--sysroot=/usr/x86_64-cros-linux-gnu",
181            "-Qunused-arguments",
182            "-Wno-tautological-constant-compare",
183            "-Wno-tautological-unsigned-enum-zero-compare",
184            "-Wno-unknown-warning-option",
185            "-Wno-section",
186            "-static-libgcc",
187            "-Wno-final-dtor-non-final-class",
188            "-Werror=poison-system-directories",
189            "-fexperimental-new-pass-manager",
190            "-Wno-compound-token-split-by-macro",
191            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
192            "-Wno-error=unused-variable",
193            "main.cc",
194            "-Wno-implicit-int-float-conversion",
195            "-Wno-compound-token-split-by-space",
196            "-Wno-string-concatenation",
197            "-mno-movbe",
198            "-B../../bin",
199            "-target",
200            "x86_64-cros-linux-gnu"
201          ],
202          "env_updates": [
203            "CCACHE_DIR=/var/cache/distfiles/ccache",
204            "CCACHE_UMASK=002",
205            "CCACHE_CPP2=yes"
206          ]
207        }
208      }
209    ]
210  },
211  {
212    "wd": "/tmp/stable",
213    "wrapper": {
214      "cmd": {
215        "path": "./x86_64-cros-linux-gnu-clang",
216        "args": [
217          "-Wno-unused-but-set-variable",
218          "main.cc"
219        ]
220      }
221    },
222    "cmds": [
223      {
224        "cmd": {
225          "path": "/usr/bin/ccache",
226          "args": [
227            "../../usr/bin/clang",
228            "--sysroot=/usr/x86_64-cros-linux-gnu",
229            "-Qunused-arguments",
230            "-Wno-tautological-constant-compare",
231            "-Wno-tautological-unsigned-enum-zero-compare",
232            "-Wno-unknown-warning-option",
233            "-Wno-section",
234            "-static-libgcc",
235            "-Wno-final-dtor-non-final-class",
236            "-Werror=poison-system-directories",
237            "-fexperimental-new-pass-manager",
238            "-Wno-compound-token-split-by-macro",
239            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
240            "-Wno-unused-variable",
241            "main.cc",
242            "-Wno-implicit-int-float-conversion",
243            "-Wno-compound-token-split-by-space",
244            "-Wno-string-concatenation",
245            "-mno-movbe",
246            "-B../../bin",
247            "-target",
248            "x86_64-cros-linux-gnu"
249          ],
250          "env_updates": [
251            "CCACHE_DIR=/var/cache/distfiles/ccache",
252            "CCACHE_UMASK=002",
253            "CCACHE_CPP2=yes"
254          ]
255        }
256      }
257    ]
258  },
259  {
260    "wd": "/tmp/stable",
261    "wrapper": {
262      "cmd": {
263        "path": "./x86_64-cros-linux-gnu-clang",
264        "args": [
265          "-Wunused-but-set-variable",
266          "main.cc"
267        ]
268      }
269    },
270    "cmds": [
271      {
272        "cmd": {
273          "path": "/usr/bin/ccache",
274          "args": [
275            "../../usr/bin/clang",
276            "--sysroot=/usr/x86_64-cros-linux-gnu",
277            "-Qunused-arguments",
278            "-Wno-tautological-constant-compare",
279            "-Wno-tautological-unsigned-enum-zero-compare",
280            "-Wno-unknown-warning-option",
281            "-Wno-section",
282            "-static-libgcc",
283            "-Wno-final-dtor-non-final-class",
284            "-Werror=poison-system-directories",
285            "-fexperimental-new-pass-manager",
286            "-Wno-compound-token-split-by-macro",
287            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
288            "-Wunused-variable",
289            "main.cc",
290            "-Wno-implicit-int-float-conversion",
291            "-Wno-compound-token-split-by-space",
292            "-Wno-string-concatenation",
293            "-mno-movbe",
294            "-B../../bin",
295            "-target",
296            "x86_64-cros-linux-gnu"
297          ],
298          "env_updates": [
299            "CCACHE_DIR=/var/cache/distfiles/ccache",
300            "CCACHE_UMASK=002",
301            "CCACHE_CPP2=yes"
302          ]
303        }
304      }
305    ]
306  },
307  {
308    "wd": "/tmp/stable",
309    "wrapper": {
310      "cmd": {
311        "path": "./x86_64-cros-linux-gnu-clang",
312        "args": [
313          "-Xclang-only=-someflag",
314          "main.cc"
315        ]
316      }
317    },
318    "cmds": [
319      {
320        "cmd": {
321          "path": "/usr/bin/ccache",
322          "args": [
323            "../../usr/bin/clang",
324            "--sysroot=/usr/x86_64-cros-linux-gnu",
325            "-Qunused-arguments",
326            "-Wno-tautological-constant-compare",
327            "-Wno-tautological-unsigned-enum-zero-compare",
328            "-Wno-unknown-warning-option",
329            "-Wno-section",
330            "-static-libgcc",
331            "-Wno-final-dtor-non-final-class",
332            "-Werror=poison-system-directories",
333            "-fexperimental-new-pass-manager",
334            "-Wno-compound-token-split-by-macro",
335            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
336            "-someflag",
337            "main.cc",
338            "-Wno-implicit-int-float-conversion",
339            "-Wno-compound-token-split-by-space",
340            "-Wno-string-concatenation",
341            "-mno-movbe",
342            "-B../../bin",
343            "-target",
344            "x86_64-cros-linux-gnu"
345          ],
346          "env_updates": [
347            "CCACHE_DIR=/var/cache/distfiles/ccache",
348            "CCACHE_UMASK=002",
349            "CCACHE_CPP2=yes"
350          ]
351        }
352      }
353    ]
354  }
355]
356