Commit b9453dc
committed
writer-json-sarif: fix miscompilation with recent Apple Clang
For a reason I'm too lazy to diagnose, latest releases of Apple Clang now
ignore the outermost initializer lists with object initializers which GCC
still translates to an array. Construct the arrays explicitly to avoid this
ambiguity.
Resolves: #1601 parent 941ad1a commit b9453dc
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
0 commit comments